Fast-Food-Fast is a delivery service app for a restaurant
I create a repository at github page
used git clone https://github.com/Simbadeveloper/Fast-Food-Fast.io.git
to clone the repository to my personal computer
added UI folder which will be used to store my HTML files am working on my project.
Created a branch feature then added the UI folder then commited.
used the following command for the above process
$touch UI
$git checkout -b branch feature
$git status
$git add UI
$git commit -m "initial commit added UI folder"
$git push origin feature
i clone the repository to my personal computer again
created two branches
- feature-user branch for the user work
- feature-admin branch for the admi work
added the user work (user folder) to feature-user branch,commit the push to the branch.
added the admin work (admin folder) to feature-admin branch,commit then pushed to the branch.
https://www.pivotaltracker.com/n/projects/2193586
admin route:https://simbadeveloper.github.io/didactic-adventure.io/UI/Adminpage.html
user route:https://simbadeveloper.github.io/didactic-adventure.io/UI/userpage.html
landing route:https://simbadeveloper.github.io/didactic-adventure.io/UI/index.html
Files that i added include the following
1.coveralls.yml to test the climate cahnges of my repository
2.Travis to test my tests on my repository
3.README.md contain details of my repository
4.Requirements.txt contains my dependencies
5.my python file(Fast_Food_Fast.py) and the test (test_Fast_Food_Fast.py)
https://www.getpostman.com/collections/12c4ea47a629178e16c1
i test my endpoints using postman
- copy the given url(http://127.0.0.1:5000/) and post it on postman
- To test the endpoints, from the table bellow, copy the endpoint and add it to the url.
Endpoint | description | Method |
---|---|---|
/api/v1/ | Home | GET |
/api/v1/auth/signup | signup | POST |
/api/v1/auth/confirmation | Confirm a user | GET |
/api/v1/v1/auth/login | login a user | POST |
/api/v1/auth/admin | admin route alone | POST |
/api/v1/auth/user/ | Guest user /admin | POST |
/api/v1/auth/guest/ | Guest route | GET |
/api/v1/auth/forgetpassword | Retrieve a passwor | GET |
/api/v1/account | Details of a user | GET |
/api/v1/order | Make an an order | POST |
/api/v1/order/int:orderid | Delete an order | DELETE |
/api/v1/order/int:orderid | Modify an order | PUT |
/api/v1/order/ | Get all orders made | GET |
/api/v1/order/int:orderid | Get a specific order | GET |
/api/v1/logout | logout | GET |