https://github.com/ayonious/template-express-microservice
๐ฏ bare minimum Template for express
https://github.com/ayonious/template-express-microservice
Last synced: 4 months ago
JSON representation
๐ฏ bare minimum Template for express
- Host: GitHub
- URL: https://github.com/ayonious/template-express-microservice
- Owner: ayonious
- Created: 2020-05-07T12:05:44.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2025-05-22T10:54:45.000Z (about 1 year ago)
- Last Synced: 2026-01-03T16:30:03.692Z (7 months ago)
- Language: JavaScript
- Homepage:
- Size: 1.07 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 11
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
template-express-microservice
๐ฅ๏ธ๐ญA bare min express microservice Template
# ๐ง Whats inside
1. Express endpoint
2. Testing with jest with:
- endpoint testing with supertest
- normal unit test
- Test results matching with snapshots
- Adding plugins to test input validity
# ๐โโ๏ธ Run command
```bash
npm install
npm run start
curl "http://localhost:3000/sum?val=10"
```
# ๐งช Run test
```bash
npm run test
```