Skip to content

stoddayy/ASP.NET-Core-web-API-example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This project is my very first dive in to building ASP.NET Core web API's, after some configuration I finally managed to get MySql to play ball on my Mac (had to download connectors etc)

Working routes:

GET http://localhost:5000/api/incident
Returns a list of all incidents stored in the database.

GET http://localhost:5000/api/incident/{id}
Returns a single incident object if it is found in the DB.

GET http://localhost:5000/api/user
Returns a list of all users stored in the database.

Future routes:

POST http://localhost:5000/api/user
Adds a new user to the DB

POST http://localhost:5000/api/location
Adds a new location to the DB

POST http://localhost:5000/api/incident
Adds a new incident to the DB

GET http://localhost:5000/api/user/{id}
Returns a single use if they are found in the DB.

GET http://localhost:5000/api/location
Returns a list of all available locations.

GET http://localhost:5000/api/location/{id}
Returns a single location if found.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages