Skip to content

ishashankmi/node-ts-clean-boilerplate

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

TypeScript Clean Boilerplate

A clean and structured TypeScript boilerplate with pre-configured functions and routes.

Database

MongoDB ( i am using docker with mongo replica set running on port 172.18.0.2 & 172.18.0.3, so please set accordingly )

Installation

  1. Clone the repository:

    git clone https://github.com/x3sammy/node-ts-clean-boilerplate.git
  2. Navigate to the project directory:

    cd typescript-clean-boilerplate
  3. Install dependencies:

    npm install

Usage

  • Run TypeScript with server autoreload:

    npm run dev
  • Build the project:

    npm run build

    The compiled files will be located in the ./build directory.

  • Build and run the project:

    npm run build_run

    This command will build the project and start the server simultaneously.

Feel free to customize this boilerplate to suit your needs. Happy coding!

About

clean typescript boileplate, with ready to use functions and routes

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published