Project template for a basic express server using TypeScript.
Clone the repository and install the dependencies.
git clone https://github.com/jsalio/ExpressWebApiTemplate
cd ExpressWebApiTemplate
pnpm install
├── README.md
├── package.json
├── lib
│ ├── app.ts
│ ├── server.ts
│ ├── app-router.ts # App router
│ ├── controllers # Controllers
│ │ ├── HomeController.ts
│ ├── models
│ │ ├── Response.ts
├── Public
│ ├── swagger.json # Swagger file (autogenerated)
├── nodemon.json
├── tsconfig.json
├── tsoa.json
├── tslint.json
- For build and run the project
pnpm run start:dev
- For update swagger file
pnpm run swagger
- For run in watch mode
pnpm run start