API for a brewery to keep track of Beers
Edit the ormconfig.json file to reflect which database you will use. I used postgres and it worked great.
npm install
npm run start
npm run test
/
Redirects to Swagger documentation
/api
Swagger documentation
/get
Returns all beers in the database
/post
Creates a new beer with mandatory parameters beerName and ABV
/get/ABV=:ABV
Returns all beers with the specific ABV passed as parameter
/get/minABV=:minABV&maxABV=:maxABV
Returns all beers with ABV between minABV and maxABV parameters
👤 Yannick Vindevoghel
- Github: @Vindevoghel
- LinkedIn: @vindevoghel