- Install Node.js
- Install MYSQL.
- In db.js file give your host,username,password and port for mysql.
- Go to webapp_travellers_hub foler.
- run npm install. This will install all packages.
- Then from here run: node ser.js.
- Console should print: App running on port:3000 and Db connection succedded.
- Check Mysql. A database name db1 will be created with user table in it.
- Test all APIS.
- Token will be printed in concole. Use that token to call protected APIS.