- Create database
- Copy .env.example to .env and fill with database credentials.
To install dependencies, run
npm install
- Migrations:
npx sequelize-cli db:migrate
- Seeders:
npx sequelize-cli db:seed:all
npm start
npm run dev
npm run build
# Run migrations on test database
NODE_ENV=test npx sequelize-cli db:migrate
# Run tests
npm run test
Email:
- [email protected]
- [email protected]
- [email protected]
- [email protected]
- [email protected]
- [email protected]
- [email protected]
- [email protected]
- [email protected]
- [email protected]
- [email protected]
- [email protected]
- [email protected]
- [email protected]
- [email protected]
- [email protected]
- [email protected]
- [email protected]
- [email protected]
- [email protected]
Password for all users: test1234
{
error: false, // required
errorCode: "VAL001", // ej. VAL001 = Validation failed on fields, required when error = true.
errorFields: [], // required when validation error.
status: "200", // required
message: "success", // required
result: {} // Object or Array. required
}