Skip to content

Commit 025a797

Browse files
authored
docs: update route list
1 parent c38da0a commit 025a797

File tree

1 file changed

+15
-10
lines changed

1 file changed

+15
-10
lines changed

readme.md

+15-10
Original file line numberDiff line numberDiff line change
@@ -26,16 +26,21 @@
2626
- use Postman or similar tools and set the url to `http://localhost:8080/`
2727
- do not forget to set the `Authorization` key within `Headers` on your requests on some routes protected by the jwt middleware
2828
- available routes:
29-
- POST /api/auth/login
30-
- POST /api/auth/register
31-
- GET /api/users/profile
32-
- PUT /api/users/
33-
- GET /api/books/
34-
- POST /api/books/
35-
- GET /api/books/:id
36-
- PUT /api/books/:id
37-
- DELETE /api/books/:id
38-
- GET /
29+
- POST /api/auth/login
30+
- POST /api/auth/register
31+
- GET /api/users/profile
32+
- PUT /api/users
33+
- GET /api/books
34+
- POST /api/books
35+
- GET /api/books/:id
36+
- PUT /api/books
37+
- DELETE /api/books/:id
38+
- GET /api/receipts/all
39+
- POST /api/receipts
40+
- GET /api/receipts/:id
41+
- PUT /api/receipts
42+
- DELETE /api/receipts/:id
43+
- GET /
3944

4045
- some jquery request I used to test the APIs from another domain
4146
```js

0 commit comments

Comments
 (0)