Skip to content

aseprahman04/Example-NodeJS-Sequelize-BasicAuth-JWT-MYSQL

Repository files navigation

Running the API

Development

To start the application in development mode, run:

npm run dev

Set up environment

In root folder you can find .env-example copy and fillup. You can use this config or change it for your purposes.

DB

Sequelize

i'm using sequelize plugin and sync with option force, so no need sql file and migration

Swagger

Swagger documentation will be available on route:

http://localhost:8080/docs

Alt Text1

Postman

there's a postman collection and environtment variables you can use it

Jwt auth

Alt Text2

Unit test

npm run test

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published