https://github.com/binoy638/express-typescript-boilerplate
🚀 Boilerplate and Starter Express and TypeScript ⚡️ Made with developer experience first: TypeScript + ESLint + Prettier + Husky + Lint-Staged + VSCode + Docker + Docker-Compose + Jest
https://github.com/binoy638/express-typescript-boilerplate
docker docker-compose expressjs husky jest mongodb nodejs rest-api typescript
Last synced: 2 months ago
JSON representation
🚀 Boilerplate and Starter Express and TypeScript ⚡️ Made with developer experience first: TypeScript + ESLint + Prettier + Husky + Lint-Staged + VSCode + Docker + Docker-Compose + Jest
- Host: GitHub
- URL: https://github.com/binoy638/express-typescript-boilerplate
- Owner: binoy638
- Created: 2021-08-05T07:08:33.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2025-04-03T16:03:13.000Z (about 1 year ago)
- Last Synced: 2025-04-03T17:22:57.660Z (about 1 year ago)
- Topics: docker, docker-compose, expressjs, husky, jest, mongodb, nodejs, rest-api, typescript
- Language: TypeScript
- Homepage:
- Size: 1.39 MB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
README
# Express TypeScript Boilerplate and Starter
🚀 Boilerplate and Starter Express and TypeScript ⚡️ Made with developer experience first: TypeScript + ESLint + Prettier + Husky + Lint-Staged + VSCode + Docker + Docker-Compose + Jest
Clone this project and use it to create your own Express project.
## Features
- Type checking [TypeScript](https://www.typescriptlang.org/)
- Linter with [ESLint](https://www.npmjs.com/package/eslint)
- Code Formatter with [Prettier](https://www.npmjs.com/package/prettier)
- [Husky](https://www.npmjs.com/package/husky) for Git Hooks
- [Lint-staged](https://www.npmjs.com/package/lint-staged) for running linters on Git staged files
- Testing with [Jest](https://www.npmjs.com/package/jest)
- [Docker](https://www.docker.com/) with seperate config for development and Production environment
- [Zod](https://www.npmjs.com/package/zod) for validation
- Out of the box [mongoDB](https://www.mongodb.com/) support
- [Winston](https://www.npmjs.com/package/winston) for logging
- [hapi/boom](https://www.npmjs.com/package/@hapi/boom) for formatting error messages
## How to Run
Clone the project
```bash
git clone --depth=1 https://github.com/binoy638/Express-Typescript-Boilerplate.git my-project-name
```
Go to the project directory
```bash
cd my-project-name
```
Install dependencies
```bash
npm install
```
Start the server
```bash
npm run dev
```
## With Docker
Clone the project
```bash
git clone --depth=1 https://github.com/binoy638/Express-Typescript-Boilerplate.git my-project-name
```
Go to the project directory
```bash
cd cd my-project-name
```
Start the server with docker-compose
```bash
docker-compose -f docker-compose.dev.yml up
```