- Node(>11.12.0)
- Npm(>5.7.0)
- MySql server
Follow below steps to start the application :
- npm install
- On the MySql client, run
create database inventory_management
- On terminal run,
cd database && node migrations.js up && cd ..
. It will initialize the database and creates a user(username: testuser / password:12345678). - Set environment variables by runnning
source env_variables.sh
on terminal. - Run
npm start
to start the server. - Import api's present under postman folder in postman application.