Skip to content

sinedied/cellars

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Cellars

A basic REST API used for training sessions.

API

Route Description
GET / Get server info
GET /api/reset Reset server data
GET /api/logs Get server request logs
GET /api/cellars Get the list of existings cellars
POST /api/cellars Create a new cellar, ex: { name: 'name' }
GET /api/cellars/:id Get the detail of an existing cellar
DELETE /api/cellars/:id Remove a cellar
GET /api/cellars/:id/bottles Get the bottles of an existing cellar
POST /api/cellars/:id/bottles Add a new bottle to a cellar, ex: { name: 'name', price: 10 }
DELETE /api/cellars/:id/bottles/:bottleId Remove a bottle

About

A basic REST API used for training sessions

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published