alberturria / Mocked-API

An API library of useful mocked endpoints to help you get your designs feeling lifelike with real data.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Mocked-API

About

Welcome to Mocked-API, this is a live API that can be accessed by anyone who needs data to test out their website, app, components etc.

Getting Started

First you should head over to https://api.mocked-api.dev and read our live api docs than start calling the api endpoints for the data you need.

How to run Mocked-API

Once you've cloned this repository, running Mocked-API is quite easy, there are just 2 steps you have to follow:

  1. Install the dependencies
npm run install
  1. Serve the application
npm run serve

This will show you were the application is running

Mock API is running on port 3000.

Now you should be able to make any request to that port, and get a response back!

đź’ˇ If you browse to that port, you'll see our swagger documentation.

FAQ

Q: Are you planning to add more end points? A: I plan to add as many as I can, if there is a specific endpoint of data you would like to see feel free to add a Issue Request.

Ghangelog

Please see CHANGELOG for more information what has changed recently.

Contributing

I encourage you to contribute to Mocked-API! Feel free to fork the codebase and make a pull request for your changes.

Our contributing guide is currently WIP and available here CONTRIBUTING GUIDE

We use semantic commit messages

  • feat: (new feature for the user, not a new feature for build script)
  • fix: (bug fix for the user, not a fix to a build script)
  • docs: (changes to the documentation)
  • style: (formatting, missing semi colons, etc; no production code change)
  • refactor: (refactoring production code, eg. renaming a variable)
  • test: (adding missing tests, refactoring tests; no production code change)
  • chore: (updating grunt tasks etc; no production code change)

Sponsor

Do you like this project? Support it by donating.

Buy Me A Coffee

About

An API library of useful mocked endpoints to help you get your designs feeling lifelike with real data.

License:MIT License


Languages

Language:TypeScript 100.0%