API in NodeJs, use 'npm install' to install the dependencies
Please set this configurations to define the database
In the 'models\users-model.js' add your use database configuration:
const config = {
server: '',
port: ,
database: '',
password: '',
user: '',
tableName: 'Users'
}
And in the 'config\config.json' to:
"development": {
"username": "",
"password": "",
"database": "teste_crud",
"host": "",
"dialect": "mysql"
}
And now to create the database use these comands:
npx sequelize db:create
npx sequelize db:migrate