The application is used for ride sharing. Authorized users can add rides and their own cars, while other authorized users can sign up to be passengers. Unauthorized and authorized users can search for rides. Administrators can retrieve, add, and delete data (users, brands, models, car restrictions, cities, cars, colors, car types). [The update needs to be added] They can also search for and retrieve usage cases. Pagination is added for entities with a larger number of results. Authorization is done using JWT tokens. An email is sent during registration. File or image input using base64 is used when adding a car for an authorized user. *Adding ratings after a ride has not been implemented yet.
Kredencijali za admina:
email: luke@gmail.com password: sifra1
Dizajn baze podataka
Use cases:
Autorizacija
- Logovanje [HttpPost] /auth
- Registracija [HttpPost] /users
Kreiranje
- Brendova automobila
Admin
- Modela automobila
Admin
- Gradova
Admin
- Boja
Admin
- Restrikcija automobila
Admin
- Tipova automobila
Admin
- Voznji
Autorizovani korisnik
- Putnika za voznju
Autorizovani korisnik
Brisanje
- Brendova automobila
Admin
- Automobila
Admin
Autorizovani korisnik
- Gradova
Admin
- Boja
Admin
- Modela automobila
Admin
- Restrikcija automobila
Admin
- Voznji
Admin
Autorizovani korisnik
- Tipova automobila
Admin
Dohvatanje i pretraga
- Svih brendova automobila i jednog brenda
Admin
- Svih modela automobila i jednog modela
Admin
- Svih modela brendova automobila
Admin
- Svih slucajeva koriscenja
Admin
- Svih automobila korisnika i jednog automobila
Autorizovani korisnik
- Svih restrikcija i jedne restrikcije
Admin
- Svih voznji i jedne voznje
Admin
- Svih tipova automobila i jednog tipa automobila
Admin
- Svih gradova i jednog grada
Admin
- Svih boja i jedne boje
Admin
- Svih korisnika sistema
Admin
- Informacija o korisniku i njegovim automobilima i voznjama
Admin
Autorizovani korisnik