fermanza / DockerNodeWebApp

Node.js with Express with Docker in a DockerFile

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

DockerNodeWebApp

Node.js with Express in Docker

  • Type "make" in terminal to see the list of the possible commands

To see which Docker images are currently running

  • docker ps

If you need to delete the container

  • docker image ls
  • docker image rm image_id

Postman API Collection

Installation requirements

  • Node.js >= 16.0.0
  • npm >= 7.0.0

Installation steps

  • Clone the repository
  • Install dependencies npm install
  • Copy environment from example file cp .env.example .env and fill with production values
  • Build and start the server npm run start

Development steps

  • Clone the repository
  • Install dependencies npm install
  • Copy environment from example file cp .env.example .env and fill with dev values
  • Start the development server npm run dev

About

Node.js with Express with Docker in a DockerFile


Languages

Language:JavaScript 91.3%Language:Makefile 5.4%Language:Dockerfile 1.9%Language:Shell 1.5%