Skip to content

artkpv/Sample-ASP-Core-API-with-OAuth

Repository files navigation

Biking tracking app (BA)

A sample project. REST API that tracks biking times of users

Prerequisites

Get started

  • Make sure prerequisites are installed and ready
  • Clone git clone git@github.com:artkpv/Sample-ASP-Core-API-with-OAuth.git
  • cd Sample-ASP-Core-API-with-OAuth
  • 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

Refs

License

See LICENSE file