diff --git a/README.md b/README.md index 0d43d07b25785b47955ba44d078e6b4a2230b6d1..86293949a5c601676f22fbfeaf1b9c6b5a59b34f 100644 --- a/README.md +++ b/README.md @@ -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"]