This is a FullStack NextJS project developed for a client as a part of my freelance work.
IMPORTANT: THE APP WILL NOT RUN PROPERLY WITHOUT .ENV VARIABLES AND PROBABLY THROW AN ERROR IF THEY ARE MISSING OR INCORRECT. BETTER REVIEW THE APP WITHIN GITHUB OR VSCODE.
To get started with this project, follow these steps:
The app needs .env
file in the root directory of the project with variables like:
- 0Auth2 refresh token
- Redirect URI
- Gmail Client ID (for Nodemailer)
- Client Secret
- Google Recaptcha Secret
- Recaptcha Site Key
- JWT Secret
- Reset Password Secret
- etc
Run the following command to create a production build:
npm run build
cd dist
node initializeAdmin.js
cd ..
npm run dev