Skip to content

Hardware Lab for managing hardware, tech and kit within the DCS store.

Notifications You must be signed in to change notification settings

WarwickTECH/hardware-lab

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Hardware Lab

Website/API for managing hardware, tech and kit within the DCS store.

API

The API endpoints will be declared once they are complete.

  • GET /hardware : Returns a list of all hardware
  • GET /hardware?status= : Returns all hardware by status (bool for borrowed/not borrowed)
  • POST /hardware : Add one new hardware
  • GET /hardware/:id : Returns hardware by id
  • DELETE /hardware/:id : Delete hardware by id
  • PUT /hardware/status/:id : Modify hardware status (for borrowed and returned hardware)
  • GET /hardware/:name : Returns all hardware by name (e.g. "Arduino")

To Do

To do list for the API.

  1. Add pagination to GET /hardware
  2. POST /hardware?batch=true : Add multiple new hardware
  3. GET /hardware/:name?count=true : Returns total number of all hardware with 'name'
  4. GET /hardware/random : Returns a random piece of available hardware ('What should I build today' button)

About

Hardware Lab for managing hardware, tech and kit within the DCS store.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published