Observed since 20 Oct, 19:26 UTC
No superseded metadata states collected. Unchanged observations do not create new revisions.
360-mock-server
๐ Zero-config dynamic mock REST API server for frontend developers
360 Mock Server is a zero-config mock REST API for frontend developers. Create, update, delete, paginate, and auto-generate fake data without building a backend.
Perfect for React / React Native / Redux / demos / testing.
npm install -g 360-mock-server
# or
npx 360-mock-server
npx 360-mock-server
Server runs at:
http://localhost:5050
POST /users
{ "name": "Ali", "email": "ali@test.com" }
GET /users
GET /users/123
PATCH /users/123
{ "email": "new@test.com" }
DELETE /users/123
Just send fields array:
POST /users
{
"fields": ["name", "email", "avatar", "phone"],
"count": 10
}
Works for any resource:
POST /products
{
"fields": ["productName", "price", "category"],
"count": 20
}
Get all supported faker fields:
GET /faker/fields
GET /users?_page=1&_limit=5
Response:
{
"data": [...],
"pagination": {
"page": 1,
"limit": 5,
"totalItems": 20,
"totalPages": 4,
"hasNextPage": true,
"hasPrevPage": false
}
}
_limit is missing โ returns full arraySearch across all fields in a resource:
GET /users?q=search_term
Simulate slow networks or server failures:
# Global delay for all requests
GET /users?_delay=1000
# Global settings via CLI (see Options)
fetch('http://localhost:5050/users')
.then(res => res.json())
.then(console.log);
axios.get('http://localhost:5050/users', {
params: { _page: 1, _limit: 10 }
});
After starting server:
360-mock> POST /users {"name":"Ali"}
360-mock> GET /users
360-mock> DELETE /users/123
Commands:
list โ list resourcesclear โ clear terminalexit โ quitnpx 360-mock-server --port 4000
npx 360-mock-server --file db.json
npx 360-mock-server --delay 1000 # Add 1s delay to all responses
npx 360-mock-server --error-rate 10 # 10% chance of 500 Error
If a public folder exists in your project directory, files inside will be served automatically at the root.
Data is stored locally in:
mock-data.json
MIT ยฉ zahidrahimoon
Built with โค๏ธ for developers
Download counts and popularity will appear here as the collector receives them.
| Package / target | Requirement | Relationship |
|---|---|---|
corsEnvironment{
"local_name": "cors",
"alias": false,
"peer_metadata": null
} | ^2.8.5 | runtime |
expressEnvironment{
"local_name": "express",
"alias": false,
"peer_metadata": null
} | ^4.18.2 | runtime |
commanderEnvironment{
"local_name": "commander",
"alias": false,
"peer_metadata": null
} | ^11.1.0 | runtime |
Source distribution
{
"shasum": "f6ac8ac16faf72356cb05fce744dfe2e7575137f",
"tarball": "https://registry.npmjs.org/360-mock-server/-/360-mock-server-1.1.0.tgz",
"fileCount": 5,
"integrity": "sha512-/erD8Fqzfd+LMJy0osP6dTYsI4vGXke6F08VuUwGPItmkQ+SIX+XCY373GLZy0tBe5gUE5GzZR3p3i8AWLvAkg==",
"signatures": [
{
"sig": "MEUCIH7erJj1TUvVscVPJfb0tsk1zxVkJFiaF1ZTs4OqzGuIAiEAySdHEVrCxjP/WYYsnIWtgVPV+tlL05UcRYlVjUwYB/Q=",
"keyid": "SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"
}
],
"unpackedSize": 22363
}Shared repository data ยท GitHub
Public sponsor counts have not been collected. These signals belong to the repository owner.
github ยท 1 observations shown. Missing days are unknown.
| Date / source period | Value | Observed at |
|---|---|---|
| 2026-10-21 | 0 | 2026-10-21T09:01:51.2608322Z |
Observed since 20 Oct, 19:26 UTC
No superseded metadata states collected. Unchanged observations do not create new revisions.
package_version:b6d4efdfd5529fc4fd15dd6af81a241058cd40430de9fc8c0363affad7392ef3