Some simply typescript-express templates.
- Blank app: https://github.com/jinhduong/ts-express-template
- Web app: https://github.com/jinhduong/ts-express-template/tree/hbs
- Api app
- JWT app: https://github.com/jinhduong/ts-express-template/tree/jwt
- ect.
- Typescript
- Express
- Nodemon
# clone repo
git clone https://github.com/jinhduong/ts-express-template.git <your-app>
# remove .git file
# make it your own
rm -rf .git && git init && npm init -y
# make it your own (windows)
del /Q .git && git init && npm init -y
# install packages
npm install
# run build and watch typescript files
npm run tsc:s
# run dev mode (nodemon)
npm run dev
# build tsc
npm run build
# open localhost:3000 in browser