https://github.com/ariomoklo/tipuapi
Fake API Skeleton for Quick Frontend Development
https://github.com/ariomoklo/tipuapi
fake-api faker fakerjs json-server
Last synced: about 1 year ago
JSON representation
Fake API Skeleton for Quick Frontend Development
- Host: GitHub
- URL: https://github.com/ariomoklo/tipuapi
- Owner: ariomoklo
- License: mit
- Created: 2020-01-19T07:58:02.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2020-01-19T15:37:37.000Z (over 6 years ago)
- Last Synced: 2025-02-15T05:27:49.587Z (over 1 year ago)
- Topics: fake-api, faker, fakerjs, json-server
- Language: JavaScript
- Homepage:
- Size: 3.91 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# tipuAPI 🐒
Fake API 💀 for Quick Frontend Development.
## Dependency
- [`json-server`](https://github.com/typicode/json-server)
- [`faker`](https://github.com/Marak/faker.js)
## Getting Started 🚀
#### Start by cloning this repository
you know how to clone a repo right ?. use `git clone` or just download this repo, It doesn't matter. But remember, we need nodejs to serve the json. So after cloning you need to instal node dependency using `npm install`.
#### Adding Data Model
add model in `/model` folder. I am using [fakerjs](https://github.com/Marak/faker.js) for creating random data. go to [faker api documentation](https://github.com/Marak/faker.js#api-methods) for more info please.
#### Start Server
easy, just run `npm run start`. If you use [🏨 hotel](https://github.com/typicode/hotel) it will be much simpler, I recommend it 👍.