aboutsummaryrefslogtreecommitdiff
path: root/server/controllers
Commit message (Collapse)AuthorAgeFilesLines
* Added status codes to more API endpoints.Mateja2021-07-292-6/+6
| | | | | This should fix login bug on client where it sets empty token when bad password is provided.
* Add API endpoint for show paid orders to user.Mateja2021-07-291-10/+5
| | | | Also, now all info in database is provided when authorized.
* Save and check user ID for every order.Mateja2021-07-291-0/+4
|
* Add API endpoint for paid orders.Mateja2021-07-271-0/+15
|
* DB: Add product name for each item in order.Mateja2021-07-271-0/+1
|
* Return status 400 when failing to register user.Mateja2021-07-241-1/+1
|
* Return token on registration, return admin status on login, 404 on userMateja2021-07-241-2/+9
| | | | not found.
* Tracking orders in database.Mateja2021-07-201-11/+42
|
* Added application_context(brand_name) and capture logging.Mateja2021-07-201-0/+8
|
* Setup transaction using provided items.Mateja2021-07-161-24/+42
|
* Setup and capture test transactions.Mateja2021-07-161-0/+59
|
* Setup `siteUrl` environment variable.Mateja2021-07-151-0/+1
|
* Setup transaction routes.Mateja2021-07-151-0/+14
|
* Finished products controller.Mateja2021-07-111-8/+47
|
* Added Product routes, model and boilerplate controller.Mateja2021-07-112-7/+23
|
* Implemented JWT authentication using Passport.jsMateja2021-07-101-0/+47
|
* Backend boilerplate code...Mateja2021-07-091-0/+7