Skip to content

Commit

Permalink
docs: update json-server installation command
Browse files Browse the repository at this point in the history
  • Loading branch information
typicode committed Jan 7, 2024
1 parent 59417fb commit 34961e6
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
## Install

```shell
npm install json-server@alpha
npm install json-server
```

## Usage
Expand Down Expand Up @@ -53,8 +53,7 @@ Run `json-server --help` for a list of options
| :----------------------------------------------------------------------------------------------------------------------------------------------------------------------------: |
| <a href="https://mockend.com/" target="_blank"><img src="https://jsonplaceholder.typicode.com/mockend.svg" height="70px"></a> |
| <a href="https://www.storyblok.com/" target="_blank"><img src="https://github.com/typicode/json-server/assets/5502029/c6b10674-4ada-4616-91b8-59d30046b45a" height="40px"></a> |
| <a href="https://betterstack.com/" target="_blank"><img src="https://github.com/typicode/json-server/assets/5502029/44679f8f-9671-470d-b77e-26d90b90cbdc" height="40px"></a> |

| <a href="https://betterstack.com/" target="_blank"><img src="https://github.com/typicode/json-server/assets/5502029/44679f8f-9671-470d-b77e-26d90b90cbdc" height="40px"></a> |

[Become a sponsor and have your company logo here](https://github.com/users/typicode/sponsorship)

Expand All @@ -67,6 +66,8 @@ POST /posts
PUT /posts/:id
PATCH /posts/:id
DELETE /posts/:id
# Same for comments
```

```
Expand Down Expand Up @@ -126,7 +127,7 @@ GET /posts?_sort=id,-views
```
GET /posts?author.name=foo
GET /posts?author.email=foo
GET /posts?names[0]=foo
GET /posts?tags[0]=foo
```

### Embed
Expand Down

0 comments on commit 34961e6

Please sign in to comment.