diff --git a/README.md b/README.md index afd5310..1469fd0 100644 --- a/README.md +++ b/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