From 26996619541a2b98587b5e0c5bd57c00c7e87ab2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=85dne=20Mauno?= <aadneom@stud.ntnu.no> Date: Tue, 7 May 2024 14:30:32 +0000 Subject: [PATCH] Update README.md --- README.md | 19 ++++++++++++++++++- 1 file changed, 18 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index a71faf5..f952c7d 100644 --- a/README.md +++ b/README.md @@ -23,4 +23,21 @@ What is ElectroMart? ## Deployment - This service can be hosted locally on a computer after running. - After running the service on your computer you can access it through localhost with port: 8080 -- http://localhost:8080/ \ No newline at end of file +- http://localhost:8080/ + +## Services being provided +- Homepage + - http://localhost:8080/ Method = ["GET"] +- category + - http://localhost:8080/category Method = ["GET"] + - http://localhost:8080/category/<string:category_name Method = ["GET"] +- Login + - http://localhost:8080/login Method = ["POST"] +- Logout + - http://localhost:8080/logout Method = ["POST"] +- Register + - http://localhost:8080/Register Method = ["POST"] +- 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"] -- GitLab