You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+13-5Lines changed: 13 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,20 +1,28 @@
1
1
# JSONServer + JWT Auth
2
2
3
-
A Fake REST API using json-server with JWT authentication. You can find the [complete tutorial here](https://www.techiediaries.com/fake-api-jwt-json-server/)
3
+
A Fake REST API using json-server with JWT authentication.
4
+
5
+
Implemented End-points: login,register
4
6
5
7
## Install
6
8
7
9
```bash
8
10
$ npm install
9
-
$ npm run api-auth
11
+
$ npm run start-auth
12
+
```
13
+
14
+
Might need to run
15
+
```
16
+
npm audit fix
10
17
```
11
18
12
-
## How to login?
19
+
## How to login/register?
13
20
14
-
You can login by sending a POST request to
21
+
You can login/register by sending a POST request to
0 commit comments