0.1.1 • Published 5 years ago

generator-type-express v0.1.1

Weekly downloads
2
License
MIT
Repository
github
Last release
5 years ago

Type Express Generator

GitHub code size in bytes GitHub package.json version

Type Express is a Yeoman Generator for Express + Typescript projects. Generate a functional Express API in just a few seconds.

Installation

You will need the Yeoman package in order to use this generator. So let's install it along with our generator:

npm install -g yo generator-type-express

Usage

To create a new project, just run the following command:

yo type-express <project name> --yarn
cd <project name>

There are a couple of scripts to start your server:

# Run the server without hot reload
yarn dev

# Run the server with hot reload
yarn watch

# Build and run compiled JS
yarn build
yarn start

Docker Support

The generated project comes with ready to use Dockerfile, so you just have to build your image.

docker build -t <image name> .