Skip to content
Snippets Groups Projects
Commit f927a26b authored by Gisli Nielsen's avatar Gisli Nielsen
Browse files

Merge branch 'main' of git.gvk.idi.ntnu.no:steffemar/idatg2204-project

parents 98b73df6 e76f54b2
No related branches found
No related tags found
No related merge requests found
......@@ -12,17 +12,17 @@ You need to setup MySQL and import the project_db.sql file. NOTE: The database d
The service can be hosted locally on your computer after running the code included in the `Backend` directory. The service can be accessed at the URL: `http://localhost:8080`
## Services being provided
## Homepage
### Homepage
http://localhost:8080/ Method = ["GET"]
## Category
### Category
http://localhost:8080/category Method = ["GET"]
http://localhost:8080/category/<string:category_name> Method = ["GET"]
## User
### User
http://localhost:8080/register Method = ["POST"]
Example JSON data
......@@ -47,14 +47,14 @@ Example JSON data
```
http://localhost:8080/logout Method = ["POST"]
## Product
### Product
http://localhost:8080/product Method = ["GET"]
http://localhost:8080/product/search/<string:search> Method = ["GET"]
http://localhost:8080/product/<int:product_id> Method = ["GET"]
## Order
### Order
http://localhost:8080/order/ Method = ["GET"]
http://localhost:8080/order/ Method = ["POST"]
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment