Skip to content

parnaudd/node-express-typescript-starter

Repository files navigation

node-express-typescript-starter

This repository is a starter for Node application using Typescript. You have :

  • a project with Node and TypeScript
  • linting with TSLint

Requirements

We assume that you're already using Node.js with npm (or yarn). This project has been written using :

  • node ^10.3.0
  • yarn ^1.7.0

Installation

After confirming that your environment meets the above requirements, you can create a new project :

git clone https://github.com/aplt/node-express-typescript-starter <my-project-name>

Then, go in the created directory

cd <my-project-name>

When that's done, you must install the project dependencies.

yarn install

Running the project

Running the project is as simple, run

yarn start

Creating a production build

Running using yarn dev is not recommended for production environment. To make a production build, run

yarn build

This will create an optimized production build in ./dist

Syntax

To run linter, use:

npm run lint

About

A starter template for TypeScript and Node/Express.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published