This is a boilerplate for building a RESTful API using TypeScript. It provides a scalable and maintainable structure to kickstart your project with essential features like environment variable management, logging, middlewares, auth and validation.
-
Clone this repository.
-
Open a terminal and navigate to the root directory of the application.
-
Run the following command to install the dependencies:
npm install
-
Rename
.env.example
to.env
and configure the environment variables. -
Compile the application using the following command:
npm run build
-
Start the application using the following command:
npm start