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

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

Awesome Lists containing this project

README

          

template-express-microservice


๐Ÿ–ฅ๏ธ๐ŸญA bare min express microservice Template




codecov




dependencies Status


devDependencies Status

# ๐Ÿง 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
```