KKlochko
0c2f6355cf
Add methods to add and remove Items from a Cart.
2 years ago
KKlochko
c0bfcd07c7
Add CartController, the selectCity method and its test.
2 years ago
KKlochko
2d4fb6a59b
Add the validation for City, User that returns message for requests.
2 years ago
KKlochko
814eb18028
Update the setCity method in the Cart model.
2 years ago
KKlochko
eb1f8bd4ff
Fix user login function.
...
Check for not existing user was without NOT.
2 years ago
KKlochko
17b76707b3
Add UserController to register/login users and api, register tests.
2 years ago
KKlochko
ea120c8c9c
Update User, Cart models.
...
Added isEmpty (no items), setCity, dropItems to Cart.
The cart field, company, was made nullable.
Updated the user field from name to username and made it unique.
2 years ago
KKlochko
4a4d5e7335
Add Cart model, resource and its API, Pivot table with Items.
...
Update Items model to have relationship with cart.
2 years ago
KKlochko
ea363b956e
Update User class.
...
Added the needed fields and removed unused fields.
2 years ago
KKlochko
61a374dfc7
Fix CityAPI to have same arguments for getMap method as Abstract.
2 years ago
KKlochko
88cc3459d3
Update City, Company Controllers to fetch new data.
...
Cleared CityResource from a comment.
2 years ago
KKlochko
814b56ca3d
Added City, Company to get and save data from API.
2 years ago
KKlochko
87483cce4e
Added ApiFetcher to fetch data from DotsAPI.
2 years ago
KKlochko
18bd849827
Added Item model, resource and its API.
...
Updated Category model to have Items.
2 years ago
KKlochko
b5a264d92f
Added Category model, resource and its API.
...
Updated Company model to have Categories.
2 years ago
KKlochko
2dc7893eb3
Added Company model, resource and its API.
2 years ago
KKlochko
1dcf619555
Updated City Model and Resource.
2 years ago
KKlochko
6d0423fa34
Added City model, resource and its API.
2 years ago
KKlochko
15f16db37c
Project initialization.
2 years ago