Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/taeyoonkwon/typescript-express-boilerplate

Production ready typescript express boilerplate
https://github.com/taeyoonkwon/typescript-express-boilerplate

boilerplate express jest jwt mongodb mongoose nodejs openapi rest-api template typescript

Last synced: about 1 month ago
JSON representation

Production ready typescript express boilerplate

Awesome Lists containing this project

README

        

## Typescript Express Boilerplate

[![CI](https://github.com/TaeyoonKwon/typescript-express-boilerplate/actions/workflows/ci.yaml/badge.svg)](https://github.com/TaeyoonKwon/typescript-express-boilerplate/actions/workflows/ci.yaml)

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](https://github.com/TaeyoonKwon/typescript-express-boilerplate/blob/main/LICENSE) Copyright (c) 2022 Taeyoon Kwon