-
Notifications
You must be signed in to change notification settings - Fork 1
Home
Joone Hur edited this page Dec 29, 2021
·
5 revisions
This is a TypeScript template repository, which supports the below features:
- express.js
- eslint
- mocha
- chai
- prettier
- typeorm
- mongodb
- Docker
You can also run and debug your project with Visual Studio Code.
Develop your web application with this template code more easily!
Start your web application:
$ npm start
Run test cases:
$ npm test
$ npm run-script lint
Run prettier to fix styles:
$ npm run style
You need to check out typeorm-mongdb branch.
Build a Docker image and run the container:
$ sudo ./build_docker.sh
$ sudo docker ps
$ curl -v http://localhost:3001
- 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