File tree 1 file changed +15
-10
lines changed
1 file changed +15
-10
lines changed Original file line number Diff line number Diff line change 26
26
- use Postman or similar tools and set the url to ` http://localhost:8080/ `
27
27
- do not forget to set the ` Authorization ` key within ` Headers ` on your requests on some routes protected by the jwt middleware
28
28
- 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 /
39
44
40
45
- some jquery request I used to test the APIs from another domain
41
46
``` js
You can’t perform that action at this time.
0 commit comments