Aggiorna readme.md
This commit is contained in:
parent
88c1305806
commit
19228afd3b
1 changed files with 5 additions and 2 deletions
|
@ -24,9 +24,12 @@ Clone this repo on your machine and before run `npm i` to install all dependence
|
|||
|
||||
| Endpoint | Description |
|
||||
| ------------------------------ | ------------------- |
|
||||
| `localhost:3000/auth/login` | Login user |
|
||||
| `localhost:3000/photos` | Products list (token needed) |
|
||||
| `localhost:4000/auth/login` | Login user |
|
||||
| `localhost:4000/photos` | Products list (token needed) |
|
||||
|
||||
## Change port
|
||||
|
||||
in package.json mod -p 4000
|
||||
|
||||
|
||||
[json-server api reference](https://github.com/typicode/json-server)
|
||||
|
|
Loading…
Reference in a new issue