This project shows how we should structure a node app with typescript. We will see in this project the minimal architecture that should be used in a production level node app. We are open to look forward for an improvement in the project. Feel free to create an issue or make a pull request for an improvement.
yarn
or
yarn install
yarn start
Root url :
http://localhost:8080/
Display your name in an ejs template :
http://localhost:8080/name/{your-name}
Display your name as Json with a Rest API url :
http://localhost:8080/api/info/{your-name}