https://github.com/enesusta/istihza
istihza is a REST API that runs as native. You can use it whenever you need some fake data.
https://github.com/enesusta/istihza
git graalvm java native-executables native-image quarkus
Last synced: 5 months ago
JSON representation
istihza is a REST API that runs as native. You can use it whenever you need some fake data.
- Host: GitHub
- URL: https://github.com/enesusta/istihza
- Owner: enesusta
- License: mit
- Created: 2020-06-10T14:13:25.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2020-06-14T09:33:23.000Z (over 5 years ago)
- Last Synced: 2025-07-18T06:32:59.194Z (6 months ago)
- Topics: git, graalvm, java, native-executables, native-image, quarkus
- Language: Java
- Homepage:
- Size: 11.7 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## istihza
[](https://travis-ci.com/enesusta/istihza)
[](https://coveralls.io/github/enesusta/istihza)
[](https://github.com/enesusta/mock-rest/tree/master/docs)
### What is `istihza`?
> Istihza means **"mock"** on Turkish language.
`istihza` is a *REST API* which `runs as native` that you can use whenever you need some fake data. It is written with GraalVM and Quarkus Framework.
Istihza aims `mock REST API` for non-backend developers. It does not need any dependency or runtime environment (like nodejs). Just install from releases and add to your **$PATH** environment.
### Examples
#### Mock Human Data
```javascript
fetch('http://localhost:8080/humans')
.then(response => response.json())
.then(json => console.log(json))
```
It returns JSON data as like listed below.
> **Note**: Response has **1000** object.
```json
[
{
"id": 1,
"email": "mbartolomeoni0@mapy.cz",
"gender": "Female",
"first_name": "Marjorie",
"last_name": "Bartolomeoni",
"ip_address": "19.239.207.192"
},
{
"id": 2,
"email": "egummow1@nps.gov",
"gender": "Female",
"first_name": "Edyth",
"last_name": "Gummow",
"ip_address": "135.76.165.218"
},
{
"id": 3,
"email": "jdurrett2@google.cn",
"gender": "Male",
"first_name": "Jarrid",
"last_name": "Durrett",
"ip_address": "136.149.102.124"
},
{
"id": 4,
"email": "molsson3@hp.com",
"gender": "Female",
"first_name": "Marsiella",
"last_name": "Olsson",
"ip_address": "150.157.248.157"
}
]
```