Back-end API for X-Tech/app16-backend with Node.JS implementation
- NPM with NodeJS (or Nginx server) installed
- MySQL installed
- Run following commands
$ git clone https://github.com/boolfalse/app16.git
$ cd app16/
- 
Create empty DB 
- 
Create .env file inside of your project root folder, and define required variables as described in .env.example 
- 
Set config variables in "config/config.js" and "config/config.json" files (later ignore these) 
- 
Run migrations (and seeds) 
$ sequelize db:migrate
$ sequelize db:seed:all # NOT NEED
- Download dependencies
$ npm i
- Run the app (dev)
$ npm start
- Ignore "config/config.js" and "config/config.json" files
- Add and use config variable for "device_token"