Skip to content

Latest commit

 

History

History
127 lines (82 loc) · 4.38 KB

File metadata and controls

127 lines (82 loc) · 4.38 KB

Node with Docker Best Practices

This project is heavily focused on the Dockerfile. In addition, there are also some docker-compose examples to follow. Everything here is mostly inspired & learned from non other than Bret Fisher.

Technology

The project uses the following technology stack:

JS Runtime: Node

The Best Node Framework: Nest JS

Containerization: Docker

Prerequisite

  • docker
  • docker-compose

Get project up & running

# Clone Repo via SSH
$ git clone $REPO

# Go into the directory
$ cd $REPO

# Run in development mode
$ docker-compose -f docker-compose.dev.yml up --build -d

# Run in proudction mode
$ docker-compose -f docker-compose.prod.yml up --build -d

Author

Vansen Hengmeanrith (Chris Legaxy/Chris Van) 😎

Contact chris.legaxy@gmail.com | chrisvan.vshmr@gmail.com

Website https://chrisvan.netlify.app

License

MIT License

Credit

  • Thanks to Bret Fisher for making the awesome courses on Node & Docker on Udemy Bret Fisher

Nest Logo

A progressive Node.js framework for building efficient and scalable server-side applications.

NPM Version Package License NPM Downloads CircleCI Coverage Discord Backers on Open Collective Sponsors on Open Collective Support us

Description

Nest framework TypeScript starter repository.

Installation

$ npm install

Running the app

# development
$ npm run start

# watch mode
$ npm run start:dev

# production mode
$ npm run start:prod

Test

# unit tests
$ npm run test

# e2e tests
$ npm run test:e2e

# test coverage
$ npm run test:cov

Support

Nest is an MIT-licensed open source project. It can grow thanks to the sponsors and support by the amazing backers. If you'd like to join them, please read more here.

Stay in touch

License

Nest is MIT licensed.