ToBeHero is a mentorship platform for kids.
$ git clone https://github.com/Unknown-squad/toBeHero-backend.git
cd
to the repository directory
$ cd toBeHero-backend
- Install dependencies
$ npm install
- Create
.env
file, 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/tobehero
SESSION_SECRET
= any string secret, example:my secret
SENDMAILER_AUTH_KEY
= authentication key of your nodemailer accountSENDER_MAIL
= the email that you record it on your nodemailer account as sender, example:info@email.com
CLIENT_DOMAIN
= ${the domain of client side}, example:http://localhost:5000
PORT
= ${port number that server will running on}, example:3000