This application is an API that uses the js Express() and Sequelize() libraries, for the creation of a Rest API, which can be Created, Read, Updated, Delete (CRUD).
- Node.js
- Express()
- Sequelize()
- MYSQL2
- Nodemon
Name: libreira
Dialect: mysql
Change User And Pasword in ./src/db/db.js
Parameter |
Type |
Description |
|
string |
Get JSON |
Parameter |
Type |
Description |
body JSON |
string |
Required. Body to fetch |
GET /libreria/editoriales
Parameter |
Type |
Description |
|
string |
Get JSON |
GET /libreria/editoriales/${id}
Parameter |
Type |
Description |
id |
string |
Required. Id of item to fetch |
POST /libreria/editoriales
Parameter |
Type |
Description |
body JSON |
string |
Required. Body to fetch |
Parameter |
Type |
Description |
|
string |
Get JSON |
Parameter |
Type |
Description |
body JSON |
string |
Required. Body to fetch |
Parameter |
Type |
Description |
|
string |
Get JSON |
Parameter |
Type |
Description |
body JSON |
string |
Required. Body to fetch |