From dee64d41c422d4ee2bc21d567bc1cf68c6cfca47 Mon Sep 17 00:00:00 2001 From: Vic Date: Tue, 24 May 2022 19:55:47 +0200 Subject: [PATCH] README.md test --- README.md | 18 +++++++++++++----- 1 file changed, 13 insertions(+), 5 deletions(-) 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