README.md test
This commit is contained in:
parent
6b487c32f1
commit
dee64d41c4
18
README.md
18
README.md
@ -24,6 +24,14 @@ Note : If needed you can reset the tables by closing the app and running `npm ru
|
||||
- put `/products/:id` Update ( Token )
|
||||
- delete `/products/:id` Delete ( Token )
|
||||
|
||||
| HTTP Verb | Endpoint | CRUD |
|
||||
|:-------------: |:-------------------:| -----------------:|
|
||||
| get | `/products` | Index |
|
||||
| get | `/products/:id` | Read |
|
||||
| post | `/products` | Create ( Token ) |
|
||||
| put | `/products/:id` | Update ( Token ) |
|
||||
| delete | `/products/:id` | Delete ( Token ) |
|
||||
|
||||
- Users :
|
||||
|
||||
- get `/users`, Index ( Token )
|
||||
@ -35,11 +43,11 @@ Note : If needed you can reset the tables by closing the app and running `npm ru
|
||||
|
||||
- Orders :
|
||||
|
||||
get `/orders`, Index ( Token )
|
||||
get `/orders/:id` Read ( Token )
|
||||
post `/orders` Create
|
||||
post `/orders/:id/products` Authenticate ( Token )
|
||||
delete `/orders/:id/products` Delete ( Token )
|
||||
- get `/orders`, Index ( Token )
|
||||
- get `/orders/:id` Read ( Token )
|
||||
- post `/orders` Create
|
||||
- post `/orders/:id/products` Authenticate ( Token )
|
||||
- delete `/orders/:id/products` Delete ( Token )
|
||||
|
||||
# Built with
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user