Biking tracking app (BA)
A sample project. REST API that tracks biking times of users
- .NET Core 3.1 SDK or later to run ASP.NET Core WebAPI.
- Python 3 to run Demo and E2E tests.
- PowerShell to run build scripts and demo.
- Make sure prerequisites are installed and ready
git clone firstname.lastname@example.org:artkpv/Sample-ASP-Core-API-with-OAuth.git
- Run Demo:
powershell ./build.ps1 demo. It will listen to 5000, 5001, 5002, 5003 ports by default (changable in ./build.ps1).
Roadmap / features
- All API calls must be authenticated under OAuth 2.
- A time entry when entered has a date, distance, time, and location.
- Based on the provided date and location, API should connect to a weather API provider and get the weather conditions for the trip, and store that with each one.
- The API must create a report on average speed & distance per week.
- The API must be able to return data in the JSON format.
- The API should provide filter capabilities for all endpoints that return a list of elements, as well should be able to support pagination.
- The API filtering should allow using parenthesis for defining operations precedence and use any combination of the available fields. The supported operations should at least include or, and, eq (equals), ne (not equals), gt (greater than), lt (lower than).
- Example -> (date eq '2016-05-01') AND ((distance gt 20) OR (distance lt 10)).
- API Users must be able to create an account and log in.
- Write unit tests
- Write E2E tests
- ASP.NET Web API https://docs.microsoft.com/en-us/aspnet/core/web-api/?view=aspnetcore-3.1
- OpenWeather API https://openweathermap.org/api
- IdentityServer4 https://identityserver4.readthedocs.io/en/latest/index.html#
- OAuth 2. https://aaronparecki.com/oauth-2-simplified/
See LICENSE file