enesusta / istihza

istihza is a REST API that runs as native. You can use it whenever you need some fake data.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

istihza

Build Status Coverage Status javadoc

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

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.

[
    {
        "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"
    }
]

About

istihza is a REST API that runs as native. You can use it whenever you need some fake data.

License:MIT License


Languages

Language:Java 94.9%Language:Batchfile 2.8%Language:Shell 2.4%