simple-etg
v1.2.7
Published
Simple Express app generator with Typescript
Maintainers
Readme
Simple ETG - Express Typescript Generator
===================
:cloud: Quick Start
The quickest way to get started is use npx and pass in the name of the project you want to create. If you don't specify a project name, the default simple-etg will be used instead. If you want to use yarn instead of npm, pass the option --useYarn.
npx simple-etg [--dest=<project-name>] [--useYarn]Example:
npx simple-etg --dest=my-project --useYarn
npm simple-etg -d my-project -yThe process will take about 1-2 minutes. After that, your project is in ready-to-start. Start your Express app in development mode by using:
cd "<project-name>" && npm run startExample:
# Using npm
cd my-project && npm run start
# Using yarn
cd my-project && yarn start:clipboard: Available Commands
start- Run the server in development modebuild- Bundle the project using webpackserve- Run the server in production modelint- Run linters (prettierandeslint) sequentially and autofix fixable errors if anylint:check- Run linters (prettierandeslint) sequentially and reports errors if any
Thanks! :heart:
