diff --git a/readme.md b/readme.md index b181e9b..1edb010 100644 --- a/readme.md +++ b/readme.md @@ -6,7 +6,6 @@ This project allows us to use an API Rest to develop in the frontend with mock d Clone this repo on your machine and before run `npm i` to install all dependences. -To generate database mock data run `npm run mock-data`. ## Start/Stop servers @@ -19,7 +18,6 @@ To generate database mock data run `npm run mock-data`. | Description | Script | | ------------------------------ | ------------------- | -| Generate mock data | `npm run mock-data` | | Generate user hashed passwords | `npm run hash` | ## Endpoints for auth server @@ -27,8 +25,8 @@ To generate database mock data run `npm run mock-data`. | Endpoint | Description | | ------------------------------ | ------------------- | | `localhost:3000/auth/login` | Login user | -| `localhost:3000/products` | Products list (token needed) | -| `localhost:3000/sellers` | Sellers list (token needed) | +| `localhost:3000/photos` | Products list (token needed) | + [json-server api reference](https://github.com/typicode/json-server)