Skip to content

Latest commit

 

History

History
62 lines (49 loc) · 1.47 KB

README.md

File metadata and controls

62 lines (49 loc) · 1.47 KB

typescript-starter

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!

Installation

./install.sh

Starting Your Web Application:

npm start

Running Test Cases:

npm test
npm run-script lint

Running Prettier to Fix Styles:

npm run style

MongoDB and TypeORM

For MongoDB and TypeORM, check out the typeorm-mongdb branch.

Docker

To build a Docker image and run the container, use the following commands:

sudo ./build_docker.sh
sudo docker ps
curl -v http://localhost:

Other Node.js Project Templates

For other Node.js project templates, check out:

References

Here are some helpful references for developing with TypeScript and related frameworks: