app is deployed on heroku link: https://chatme-back.herokuapp.com/
No test are writen for the app.
- clone the repository
- Run
npm install
- create the
.env
for app environment variable as per.env.example
file - Run
nodemon
to start up the app in dev mode - If you wishto build run
npm run postinstall
and after complition runnpm start
route | description | body |
---|---|---|
POST /auth/signup | receive the signup payload in form of Json and create a new account | json { username: string, password: string, email: string} |
POST /auth/login | receive login credential and validates | json { username: string, password: string } |