Skip to content
/ base-api Public template

A node.js and Express.js base API using Sequelize

Notifications You must be signed in to change notification settings

no-donut-for-you/base-api

Repository files navigation

Up and Running

1 - Install the node version 16.17.0

2 - Run the npm install command

3 - Run the following command to run DB migrations: npm run db:migrate

4 - Run the following command to run DB seeds: npm run db:seed:all

5 - Run the npm start command to start the application (default port is 3001)

6 - Access the Swagger UI url to make some calls: http://localhost:8080/api-docs/

Running test

Run the npm test command

The base api is using basic auth to authenticate each request. The default user is base-api and the password is base@123. You'll need to provide it by clicking on the "Authorize" button on the Swagger URL.

About

A node.js and Express.js base API using Sequelize

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published