This is a simple boilerplate application to start the project from scratch using typescript and nodejs.
If you are working on freelance projects and wanted to quickstart the project with all the initial setup having simple architechture, use this setup and finish requirement on time :-)
lineldcosta / typescript-node-rest-api-boilerplate
Node.js REST API boilerplate built with typescript, Node, Jest, pm2, express, postgresql, slonik
This is rest based nodejs boilerplate application, which uses router-services-model architecture.
Requirements
Install global TypeScript and TypeScript Node
npm install -g typescript ts-node
Clone this repository
git@github.com:lineldcosta/typescript-node-rest-api-boilerplate.git
Then install the dependencies
npm install
To Run the application in production mode
yarn start-prod
To Run the application in development mode
yarn start-dev
To Run the tests
Yarn jest
It uses the best approaches available to create typescript-nodejs API.
Requirements
- NodeJS
Install global TypeScript and TypeScript Node
npm install -g typescript ts-node
Clone this repository
git@github.com:lineldcosta/typescript-node-rest-api-boilerplate.git
Then install the dependencies
npm install
To Run the application in production mode
yarn start-prod
To Run the application in development mode
yarn start-dev
To Run the tests
Yarn jest
Happy coding...! If you like then don't forget to star itt!!!
Top comments (2)
About this subject, see a small contribution here : github.com/konfer-be/ts-express-ty...
Looks good!