Setting Up Backend
Cloning the repository
Clone the repository available at https://github.com/coronasafe/superhero_frontend
Setting up the database
In src/config/config.js
Add database credentials corresponding to each stage.
Only Relational databases supported by Sequelize ORM can be used.
Set NODE_ENV
to correct stage before deployment or remove this key and set it for each server.
Set KCC_GMAPS_API_KEY
to your Google Maps API Key
Copy your Firebase Service Account JSON to src/keys
In src/utils/fcm.js
Add Firebase serviceAccount file and database URL
Go to the root directory of the project
Run npm install
and npm start
Last updated