https://github.com/boolfalse/app16-nodejs
Back-end API for X-Tech/app16-backend
https://github.com/boolfalse/app16-nodejs
app16 coronavirus covid-19 mysql nodejs
Last synced: 5 months ago
JSON representation
Back-end API for X-Tech/app16-backend
- Host: GitHub
- URL: https://github.com/boolfalse/app16-nodejs
- Owner: boolfalse
- Created: 2020-03-31T16:58:56.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2020-04-25T19:37:34.000Z (over 5 years ago)
- Last Synced: 2025-06-04T17:15:10.470Z (7 months ago)
- Topics: app16, coronavirus, covid-19, mysql, nodejs
- Language: JavaScript
- Homepage:
- Size: 152 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
README
### About:
Back-end API for [X-Tech/app16-backend](https://github.com/X-TECH/app16-backend) with Node.JS implementation
### Requirements
- NPM with NodeJS (or Nginx server) installed
- MySQL installed
### Demo Test:
- 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
```
### Postman Collection
- [Published Docs 25.04.2020](https://documenter.getpostman.com/view/1747137/SzfAzmvC?version=latest)
- [Static Link 25.04.2020](https://www.getpostman.com/collections/aa1a219f17b0e5211f2e)
### Resources
- https://stackoverflow.com/a/42500573/7574023
- https://stackoverflow.com/a/58745027/7574023
### TODOs
- Ignore "config/config.js" and "config/config.json" files
- Add and use config variable for "device_token"