Skip to content

Latest commit

 

History

History
44 lines (25 loc) · 1.1 KB

File metadata and controls

44 lines (25 loc) · 1.1 KB

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 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