- Git clone the project repository on your local system
git clone https://github.com/deepeshdm/WingedNotes.git
- Install dependencies in package.json
cd WingedNotes
npm install
- Configure Firestore database on Firebase and set configs as Environment Variables in Nextjs app
# .env.local
# Firebase Configs
NEXT_PUBLIC_APIKEY="xxxxxxxxxxxxxxxxxxxxxxxxxxx"
NEXT_PUBLIC_AUTHDOMAIN="xxxxxxxxxxxxxxxxxxxxxxxxxxxx"
NEXT_PUBLIC_PROJECTID="xxxxxxxxxxxxxxxxxxxxxx"
NEXT_PUBLIC_STORAGEBUCKET="xxxxxxxxxxxxxxxxxxxxxxxxxxx"
NEXT_PUBLIC_MESSAGING_SENDERID="xxxxxxxxxxxxxxxxxxxxxx"
NEXT_PUBLIC_APPID="xxxxxxxxxxxxxxxxxxxxxxxxxxxx"
# JWT Secret Key
NEXT_PUBLIC_JWT_SECRET="xxxxxxxxxxxxxxxx"
- Deploy project on local server
npm run build
num run start