diff --git a/README.md b/README.md index a71faf52cb204e81d8ef2c2bbb31d3d31514a34b..f952c7dce081008f140622d1089db87a9342864a 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"]