I am using firestore database for this project
Grab this serviceAccountKey.json informations from firebase console and add it to the root directory of your project.
Add necessary environment variable information in .env file
JWT_SECRET=add_your_jwt_secret_here_to_encrypt_jwt_token
FIREBASE_DB_URL=database_url_from_firebase
Run npm install
to install nodejs dependencies
Run npm serve
to start server in production mode