Skip to content

phatpham9/jetdevs

Repository files navigation

jetdevs

Description

NodeJS Blog API Service

Database design

Entity relationship diagram

Entity relationship diagram

Database schema

Database schema

API design

API design

Techstack

Installation

$ npm install

Running the app

Before you can start the app, you need to create a .env file in the root directory of the project and add the following environment variables:

DATABASE_URL="mysql://user:password@localhost:3306/jetdevs"
# database migration
$ npm run migrate

# development
$ npm run start

# watch mode
$ npm run start:dev

# production mode
$ npm run start:prod

The API service will be available at http://localhost:3000

And the API Specs will be available at http://localhost:3000/api

Test

# unit tests
$ npm run test

# e2e tests
$ npm run test:e2e

# test coverage
$ npm run test:cov

License

MIT licensed

Author

Phat Pham

About

NodeJS Blog API Service

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published