Skip to content

brunosduarte/api-solid

Repository files navigation

GymPass style app

RFs (Functional Requirements)

  • Should be able to register;
  • Should be able to authenticate;
  • Should be able to obtain credentials from logged in user;
  • Should be able to obtain the check-ins count by logged user;
  • Should be able to obtain check-ins history;
  • Should be able to search for the nearest gym (<=10km);
  • Should be able to search gyms by the name;
  • Should be able to check-in in a gym place;
  • Should be able to validate the check-in of an user;
  • Should be able to register a gym place;

RNs (Business Rules)

  • The user can't register with a duplicate email address;
  • The user can't make two check-ins in a same day;
  • The user can't make the check-in if is >100m away from the gym place;
  • The check-in can't be validated until the 20 minutes after the creation;
  • The check-in only can be validated by administrators;
  • The gym place only can be registered by administrators;

RNFs (Not Functional Requirements)

  • The password of the user must be encrypted;
  • The application data must be persisted in a PostgreSQL database;
  • All data lists must be paginated by the 20 items per page;
  • The user must be identified by a JWT;

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published