https://github.com/allnulled/demo-express-finale
Demo of Express app with REST endpoints provided by Sequelize and Finale-REST modules.
https://github.com/allnulled/demo-express-finale
Last synced: 26 days ago
JSON representation
Demo of Express app with REST endpoints provided by Sequelize and Finale-REST modules.
- Host: GitHub
- URL: https://github.com/allnulled/demo-express-finale
- Owner: allnulled
- Created: 2018-05-03T10:16:43.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2018-05-03T10:38:10.000Z (about 8 years ago)
- Last Synced: 2025-01-17T13:48:20.506Z (over 1 year ago)
- Language: JavaScript
- Size: 13.7 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# demo-express-finale
Simple demonstration of an Express app using Finale-REST to generate REST endpoints from Sequelize (ORM) models.
## 1. Prerequisites
As this example is going to connect to a MySQL database, we need a valid environment for it to work.
The example uses this configurations:
```js
{
database: "restexample",
user: "root",
password: "toor"
}
```
The database 'restexample' should be empty.
## 2. Installation and usage
As it is only a demonstration, and there is no other purpose behind this project, we only need to download and run the example.
```bash
# Download the package from GitHub:
git clone https://github.com/allnulled/demo-express-finale
# Go to the directory:
cd demo-express-finale
# Run all the tests (it will install the dependencies automatically):
npm run test
```