Skip to content

jsalio/BasicExpressTemplateTypeScript2

Repository files navigation

ExpressWebApiTemplate

Project template for a basic express server using TypeScript.

Getting Started

Clone the repository and install the dependencies.

git clone https://github.com/jsalio/ExpressWebApiTemplate
cd ExpressWebApiTemplate
pnpm install

Prerequisites

Folder structure

├── 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

How to run

  • 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

About

Basic template node express app with swagger

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published