Skip to content

Minimalistic boilerplate to start working on Nodejs project in Typescript.

License

Notifications You must be signed in to change notification settings

jaouadballat/nodejs-typescript-boilerplate

Repository files navigation

nodejs-typescript-boilerplate

Minimalistic boilerplate to start working on Nodejs project in Typescript.

Quick start

This project is intended to be used with the latest Active LTS release of Nodejs. To start, just clone the repository with following commands:

git clone https://github.com/jaouadballat/nodejs-typescript-boilerplate
cd nodejs-typescript-boilerplate
npm install

or download and unzip current master branch:

wget https://github.com/jaouadballat/nodejs-typescript-boilerplate/archive/master.zip -O nodejs-typescript-boilerplate
unzip nodejs-typescript-boilerplate.zip && rm nodejs-typescript-boilerplate.zip

Update your env file and now start adding your code in the src folder.

Available scripts

  • dev - transpile TypeScript to ES6,
  • watch - interactive watch mode to automatically transpile source files,

License

Licensed under the APLv2. See the LICENSE file for details.