TS-EXPRESS-APP
Generates basic express-typescript boilerplate.
NOTE: Node version >= 16.7.0
is required to run this command. To check your node version run following command:
node -v | --version
Usage:
npx ts-express-app [dir] [options]
Options:
--yarn install node_modules using yarn (default npm)
Example:
npx ts-express-app my-app --yarn
Quick start
Generate boilerplate in your project directory by running following command
npx ts-express-app project-name
To generate boilerplate in current directory
npx ts-express-app .
To start your application in development
npm run dev
To make your project build and run the build
npm run build && npm start