# fake-till-make

> Generate simple yet flexible REST API with minimal effort.

Latest version **0.0.3** (published 2020-08-10) · MIT license · 0 weekly downloads

## Install

```sh
npm install fake-till-make
pnpm add fake-till-make
yarn add fake-till-make
bun add fake-till-make
```

Provides the command `fake-till-make`.

## Health

**Score 25/100 (F)** — status: abandoned.

Positive: has types; no vulnerabilities; high quality score.

Warnings: low downloads; no esm support; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.0.3 |
| Published | 2020-08-10 |
| First published | 2020-08-09 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | CommonJS |
| Dependencies | 1 |
| Unpacked size | 103.8 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 2 |
| Author | Eqls |
| Maintainers | eqls |
| Keywords | json, server, api, mocks |

## Links

- npm: https://www.npmjs.com/package/fake-till-make
- Repository: https://github.com/Eqls/fake-till-make
- Homepage: https://github.com/Eqls/fake-till-make#readme
- Issues: https://github.com/Eqls/fake-till-make/issues
- npm.io page: https://npm.io/package/fake-till-make

## Dependencies (1)

- [express](https://npm.io/package/express.md) ^4.17.1

## Alternatives

- [@mapbox/jsonlint-lines-primitives](https://npm.io/package/@mapbox/jsonlint-lines-primitives.md) — 5.3M weekly downloads
- [reftools](https://npm.io/package/reftools.md) — 3.5M weekly downloads
- [@hey-api/openapi-ts](https://npm.io/package/@hey-api/openapi-ts.md) — 3.5M weekly downloads
- [@mapbox/geojson-rewind](https://npm.io/package/@mapbox/geojson-rewind.md) — 2.4M weekly downloads
- [turbo-stream](https://npm.io/package/turbo-stream.md) — 1.7M weekly downloads

## Recent versions

- 0.0.3 (latest) — 2020-08-10
- 0.0.2 — 2020-08-09
- 0.0.1 — 2020-08-09

## README

# mockify

Generate simple yet flexible REST API with minimal effort.

## installation

```npm i fake-till-make```

## usage

### create resource

```fake-till-make resource <resource name> <data amount>```

### run server

```fake-till-make start <port>```

### example resource model

Every resource model requires to have <b>model</b> and <b>dataAmount</b>.

```$xslt
{
  "model": {
    "exampleField": "string",
    "name": "string",
    "contacts": [{
      "id": "number",
      "name": "string"
    }]
  },
  "dataAmount": 2
}
```

| Field         | Description   |
| ------------- |:-------------:|
| model         | resource object structure |
| dataAmount    | the amount of data should be generated |

---
_Source: https://npm.io/package/fake-till-make · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
