Credits: This is a Next.js project bootstrapped with create-next-app.
To run the development server using:
npm run devOpen http://localhost:3000 with your browser to see the result.
Copy the .env.example as .env file And add the environment variable shown there.
You can generate a secure JWT secret using OpenSSL with the following command:
openssl rand -base64 32Or if you prefer a manually generated secret, you can "spam the keyboard" and get one and add it in env
Run following command
npm installEnsure your Firebase setup is complete and start the development server:
npm run devNow your app should be connected to Firebase!
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.