/HBD-Backend-Master

Node.js+Express.js+MySQL...

Primary LanguageTypeScript

HBD Application

Prerequisites

  • Node.js 10
  • Docker
  • Mysql

Start the developement

Install dependencies

npm install

Start server

npm start

# send GET request
curl -i http://localhost:5000/api/v1/test

Build Docker Image

docker build -t hbd-app .

# this will list down the available images
docker images

Run Docker Image

docker run -p 8080:5000 -d hbd-app

# this will list down the running applications
docker ps