Skip to content

kirylbokach/sample-incident-api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

sample-incident-api

Sample project for Incident REST API

To build and run using VS 2017 or later

  1. Load IncidentApi.sln into the IDE
  2. Build the solution
  3. Optionally add more data files to src/Sample.Incident.WebApi/bin/Debug/netcoreapp2.2/data
  4. Set Sample.Incident.WebApi as a startup project
  5. Press F5

To run integration tests in VS

  1. Load IntegrationTests.sln into the IDE
  2. Build the solution
  3. Make sure the API is running as described above
  4. In the menu select Test -> Run -> All Tests

Potential improvements

  1. Add logging
  2. Add Open API specifications and Swagger UI
  3. Possible retries for weather API
  4. Remove hard-coded secret
  5. Compose docker image
  6. Better test coverage
  7. Complete incident object model
  8. Service independent weather model

About

Sample project for REST API

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages