issues
search
simeonkrastev
/
SmartGateIO
Prototype multitier solution, managing chip card access through a gate.
GNU General Public License v3.0
0
stars
0
forks
source link
Add an API endpoint: "GET /accounts/"
#24
Closed
simeonkrastev
closed
1 year ago
simeonkrastev
commented
1 year ago
[x] Create a new controller, called AccountsController
[x] Make an HttpGet method that returns a list of all accounts in the database
[x] Make an HttpGet /accounts/{id} endpoint that returns the account data for a given account
[x] Make an HttpPost endpoint that adds a new account.
[x] Make an HttpDelete endpoint that removes an account by ID.