Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/rsdiaz/typescript-express-api-template
🌍✅ TypeScript Express API Template: Bootstrap your new HTTP API backend with TypeScript and Express
https://github.com/rsdiaz/typescript-express-api-template
api api-rest backend eslint express expressjs husky jest node-js nodejs prettier supertest template ts typescript
Last synced: about 1 month ago
JSON representation
🌍✅ TypeScript Express API Template: Bootstrap your new HTTP API backend with TypeScript and Express
- Host: GitHub
- URL: https://github.com/rsdiaz/typescript-express-api-template
- Owner: rsdiaz
- Created: 2024-08-03T22:43:14.000Z (4 months ago)
- Default Branch: main
- Last Pushed: 2024-08-03T23:15:55.000Z (4 months ago)
- Last Synced: 2024-09-30T16:41:11.607Z (about 2 months ago)
- Topics: api, api-rest, backend, eslint, express, expressjs, husky, jest, node-js, nodejs, prettier, supertest, template, ts, typescript
- Language: TypeScript
- Homepage:
- Size: 85 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
README
# TypeScript Express API Template
This is a template for starting a Express API project in TypeScript## Features
- **TypeScript**: [typescriptlang.org](https://www.typescriptlang.org/)
- **ts-node-dev**: [npmjs.com/package/ts-node-dev](https://www.npmjs.com/package/ts-node-dev)
- **ESLint**: [eslint.org](https://eslint.org/)
- **Prettier**: [prettier.io](https://prettier.io/)
- **Jest**: [jestjs.io](https://jestjs.io/)
- **Supertest**: [npmjs.com/package/supertest](https://www.npmjs.com/package/supertest)
- **Husky**: [typicode.github.io/husky](https://typicode.github.io/husky/)## Start development
```
# Install dependencies
npm install# Run in dev mode
npm run dev# Generate production build
npm run build# Run in production mode
npm run start
```## Linting
```
npm run build:lint
```## Testing
Jest with supertest for testing API
```
npm run test
```