Clone the repository
$ git clone [email protected]:MarkAdell/typescript-api-starter.git
$ cd typescript-api-starter
Install the dependencies
$ npm install
To run the server in development mode
$ npm run start:dev
Visit <base_url>/api-docs
to view swagger API docs.
- Update the following properties in
package.json
as necessary:- name
- version
- description
- author
- license
- Update
transports.DailyRotateFile
options insrc/config/logger.ts
as necessary. - Copy
.env.example.dev
or.env.example.prod
to a.env
file and update the environment variables as necessary. - Update PM2 configs in
ecosystem.config.js
as necessary. - Review the turned off linting rules in
.eslintrc
and update them as necessary.