Skip to content
/ starter-node Public template

A always up-to-date starter template for Node.js projects with TypeScript, Nodemon, Prettier, ESLint, Docker, and docker-compose support.

License

Notifications You must be signed in to change notification settings

sanjib-sen/starter-node

Repository files navigation

starter-node

Table of Contents

About

A always up-to-date starter template for Node.js projects with TypeScript, Nodemon, Prettier, ESLint, Docker, and docker-compose support.

Getting Started

Just use this as a template for your new project and you are good to go.

NPM Scripts

Command Action preCommands
npm install Install all necessary dependencies
npm run dev Run and monitor changes using nodemon
npm run build Compile Typescript files to JavaScript. (Output directory=/dist) npm run format && npm run lint
npm run format Format files using Prettier
npm run lint Check and Fix Linting issues using ESLint
npm run start Compile TypeScript Files to JavaScript and run. npm run build
npm run docker:up Prepare, build and run Docker container using docker-compose up command docker-compose build --no-cache
npm run docker:down Stop Docker container using docker-compose down command

About

A always up-to-date starter template for Node.js projects with TypeScript, Nodemon, Prettier, ESLint, Docker, and docker-compose support.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published