This repository is a TypeScript template that includes the following features:
- Express.js
- ESLint
- Mocha
- Chai
- Prettier
- TypeORM
- MongoDB
- Docker
In addition, it allows for easy debugging and running of your project with Visual Studio Code.
Use this template to develop your web application with ease!
./install.sh
npm start
npm test
npm run-script lint
npm run style
For MongoDB and TypeORM, check out the typeorm-mongdb branch.
To build a Docker image and run the container, use the following commands:
sudo ./build_docker.sh
sudo docker ps
curl -v http://localhost:
For other Node.js project templates, check out:
Here are some helpful references for developing with TypeScript and related frameworks:
- https://blog.risingstack.com/building-a-node-js-app-with-typescript-tutorial/
- https://itnext.io/how-to-make-tests-using-chai-and-mocha-e9db7d8d48bc
- https://journal.artfuldev.com/write-tests-for-typescript-projects-with-mocha-and-chai-in-typescript-86e053bdb2b6
- https://kay0426.tistory.com/41
- https://orkhan.gitbook.io/typeorm/docs/mongodb
- https://www.tutorialspoint.com/typeorm/index.htm