https://github.com/swizz/reply-from-dummy
https://github.com/swizz/reply-from-dummy
Last synced: over 1 year ago
JSON representation
- Host: GitHub
- URL: https://github.com/swizz/reply-from-dummy
- Owner: Swizz
- Created: 2023-12-29T10:56:59.000Z (over 2 years ago)
- Default Branch: master
- Last Pushed: 2024-01-03T11:20:51.000Z (over 2 years ago)
- Last Synced: 2025-02-01T15:23:58.834Z (over 1 year ago)
- Language: JavaScript
- Size: 12.7 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Fastify reply-from-dummy
Small repository of codes that serves as exemple of our use case
## Requirements
```txt
node fermium-lts (14)
fastify 2.15.3 (v2)
```
## Run
```cli
npm install
npm run start
```
## Usages
Once started Swagger is served at : http://localhost:3000/docs
Then `Post` id :
- `1-150` for `200` responses
- `100` for `200` response with `204`
- `others` for `404` responses