Skip to content

TaeyoonKwon/typescript-express-boilerplate

Repository files navigation

Typescript Express Boilerplate

CI

Production ready boilerplate project made with Typescript and Express.

🚀 Features

  • Typescript, ESLint, and Prettier configurations.
  • Open API 3 documentation with Swagger UI.
  • MongoDB object modeling using Mongoose.
  • CRUD API routes with an example MongoDB model.
  • Middlewares using API KEY and Bearer Token.
  • User authentication using JWT and password encryption.
  • Jest unit testing.
  • Dockerfile example.

🔧 Building and Testing

ℹ️ You should create your own .env file to run it.

Install packages

npm install

Build

npm run build

Dev mode

npm run dev

Production mode

npm start

Unit testing

npm run test

📑 License

MIT Copyright (c) 2022 Taeyoon Kwon