Skip to content
/ nestjs-template Public template

NestJs template + Docker hot reload (Windows supported)

Notifications You must be signed in to change notification settings

MHP24/nestjs-template

Repository files navigation

⭐ NestJS Template ⭐

About this template 📕

This template includes a development setup and environment multi OS support ready-to-use outside the box, and has the config ready for:

  • ESLint
  • Prettier integration
  • Docker hot reload feature (Windows supported)
  • Husky integration
  • Commit lint (Conventional commits standard)
  • Joi .env validation schema

Setup and installation 🚀

Before using this template, ensure you have Node.js installed (version 20.12.0 for this template) and Docker installed and running.

Steps

1 . Install dependencies using yarn as package manager:

  yarn

2 . Replace .env.template variables and rename it as .env file

Environment variables specification  

Variable Type Description
PORT Integer (positive) Port where app runs

3 . Development mode using Docker: Run Docker compose file in the branch directory:

  docker-compose -f docker-compose.dev.yml up --build

4 . Development mode without Docker: Start the development server:

  yarn start:dev

About

NestJs template + Docker hot reload (Windows supported)

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published