https://github.com/ghoshasish99/jsonserver
Json Server for service virtualization and deployment to Azure WebApp services
https://github.com/ghoshasish99/jsonserver
api-testing json-server rest-api service-virtualization
Last synced: 3 months ago
JSON representation
Json Server for service virtualization and deployment to Azure WebApp services
- Host: GitHub
- URL: https://github.com/ghoshasish99/jsonserver
- Owner: ghoshasish99
- Created: 2020-07-15T23:10:47.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2021-03-06T13:22:53.000Z (over 5 years ago)
- Last Synced: 2025-12-05T21:25:40.558Z (6 months ago)
- Topics: api-testing, json-server, rest-api, service-virtualization
- Language: HTML
- Homepage: http://json-server-1.azurewebsites.net/
- Size: 82 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# JsonServer
[](https://github.com/ghoshasish99/JsonServer/actions/workflows/master_json-server-1.yml)
## Json Server is a light weight solution to get a full fledged fake Rest API
### Getting Started
* To install : `npm install -g json-server`
* Create a `db.json` with some data :
```json
{
"users":[
{
"id":1,
"first_name":"Ashish",
"last_name":"Ghosh",
"job":"test automation"
}
]
}
```
* To start JSON Server : `json-server --watch db.json`
* To access data, you can hit this url :
http://localhost:3000/users/1
You should get the following output :
```json
{
"users":[
{
"id":1,
"first_name":"Ashish",
"last_name":"Ghosh",
"job":"test automation"
}
]
}
```
For more on JSON Server visit [this link.](https://github.com/typicode/json-server)