Skip to content

blog docker-compose docker node.js javascript REST API JWT Authentication

Notifications You must be signed in to change notification settings

abneetwats24/MyBlog

Repository files navigation

Simple blog REST API

To start the API using Docker

Prerequisits

  • Docker must be installed
  • If using Linux docker-compose also needs to be installed
  • If using Windows or Mac Docker Desktop, there is no need to install docker-compose explicetly

Start with docker-compose

docker-compose -f docker-compose-innodb-cluster.yml up -d

There is no need to change any environment variable

To start the API using default npm

Prerequisits for using npm

  • MySQL/MariaDB must be install and blog named database is created or as per .env variable it should be configured.

Start with npm

npm install
npm start

You need to configure environment variable from .env

DOCS

  • Docs can be found here

Contributors

About

blog docker-compose docker node.js javascript REST API JWT Authentication

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published