ToBeHero is a mentorship platform for kids.
$ git clone https://github.com/Unknown-squad/toBeHero-backend.git
cdto the repository directory
$ cd toBeHero-backend
- Install dependencies
$ npm install
- Create
.envfile, and add Environment Variables to it usingnano:
$ nano config/config.env
- Run the server
$ npm start
MONGO_URI= mongodb connection url, example:mongodb://localhost:27020/tobeheroSESSION_SECRET= any string secret, example:my secretSENDMAILER_AUTH_KEY= authentication key of your nodemailer accountSENDER_MAIL= the email that you record it on your nodemailer account as sender, example:[email protected]CLIENT_DOMAIN= ${the domain of client side}, example:http://localhost:5000PORT= ${port number that server will running on}, example:3000