This repository provides a basic setup for a Node.js backend application that is Dockerized.
git clone https://github.com/HasancanCakicioglu/Basic-Dockerize-Nodejs-Backend.git
cd Basic-Dockerize-Nodejs-Backend
npm install
cd Basic-Dockerize-Nodejs-Backend
npm install
npm start
The setup includes the following components:
- Node.js runtime environment
- Express.js framework
- Nodemon for automatic restart of the server on code changes
- Dockerfile for building the Docker image
- docker-compose.yml for setting up the development environment
Make sure that you have Docker and docker-compose installed on your machine before you proceed.
To get started, clone this repository to your local machine: