GraphiQL is a playground/IDE for graphQL requests. This is team task for RSSchool course of REACT2023Q4
This project bootstrapped with create-next-app
.
- Clone the repo
git clone https://github.com/thirdmadman/graphiql-app.git
- Install NPM packages
npm install
# or
yarn add
# or
pnpm add
# or
bun install
-
Set up Firebase project according to "Setting up Firebase" section in this article: https://blog.logrocket.com/user-authentication-firebase-react-apps/
-
Rename
.env.local.example
to.env.local
and enter config data from you Firebase project in it
NEXT_PUBLIC_FIREBASE_API_KEY =
NEXT_PUBLIC_FIREBASE_AUTH_DOMAIN =
NEXT_PUBLIC_FIREBASE_PROJECT_ID =
NEXT_PUBLIC_FIREBASE_STORAGE_BUCKET =
NEXT_PUBLIC_FIREBASE_MESSAGING_SENDER_ID =
NEXT_PUBLIC_FIREBASE_APP_ID =
NEXT_PUBLIC_FIREBASE_MEASUREMENT_ID =
-
Get SEVICE_ACCOUNT key in your Firebase Project according to this article: https://clemfournier.medium.com/how-to-get-my-firebase-service-account-key-file-f0ec97a21620
-
and also put in
.env.local
SERVICE_ACCOUNT =
- Run the development server:
npm run dev
# or
yarn dev
# or
pnpm dev
# or
bun dev
- Open http://localhost:3000 with your browser to see the result. You can start editing the page by modifying
app/page.tsx
. The page auto-updates as you edit the file. This project usesnext/font
to automatically optimize and load Inter, a custom Google Font.
To learn more about Next.js, take a look at the following resources:
- Next.js Documentation - learn about Next.js features and API.
- Learn Next.js - an interactive Next.js tutorial.
You can check out the Next.js GitHub repository - your feedback and contributions are welcome!
The easiest way to deploy your Next.js app is to use the Vercel Platform from the creators of Next.js.
Check out our Next.js deployment documentation for more details.