Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/dancespiele/sport-api-sequelize
https://github.com/dancespiele/sport-api-sequelize
Last synced: 5 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/dancespiele/sport-api-sequelize
- Owner: dancespiele
- License: mit
- Created: 2018-04-18T19:18:20.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2018-04-20T16:14:48.000Z (over 6 years ago)
- Last Synced: 2024-10-10T05:35:23.495Z (28 days ago)
- Language: JavaScript
- Size: 7.81 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Sport API
This is a backend example using [express](https://expressjs.com/) with [sequelize](http://docs.sequelizejs.com/)## Requirements
* Sqlite
* Node## Download
`git clone [email protected]:dancespiele/sport-api-sequelize.git`
Enter to the folder and execute:
```
`yarn` or `yarn install`
```## Settings
Create a script file ***run.sh*** in root path of the project:
```
export SECRET=your secret
export EXP=1
export SERVICE_PORT=8000node_modules/.bin/nodemon --watch 'app/**/**' ./app/index.js
```## RUN
`yarn run watch`
## RUN INTEGRATIONS TEST
With the project running:
`yarn test`
## API Docs
With the project running go to the browser to the link `http://localhost:8000/api-docs/`