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.
We are eternally greatful for the amazing sponsors of this project. They help provide this little birdy with a home to live in. So thank you to the following sponsors for their contributions to the platform.
If you would like to help support this project. We now have an Open Collective page which you can visit here
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.
Once you've cloned this repository, running Mocked-API is quite easy, there are just 2 steps you have to follow:
- Install the dependencies
npm install
- Configure the application
An example configuration file
.env.example
is provided.
npm run config
- Serve the application
npm run serve
This will show you where the application is running
Mock API is running on port 3000.
- Ensure you have Docker installed
- Open your terminal/command line tool
- Run
docker-compose up
- Open your browser to http://localhost: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.
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.
Please see CHANGELOG for more information what has changed recently.
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
Do you like this project? Support it by donating.
Buy Me A CoffeeThanks goes to these wonderful people (emoji key):
This project follows the all-contributors specification. Contributions of any kind welcome!