Thanks to visit codestin.com
Credit goes to github.com

Skip to content

uptype/mock-api

 
 

Repository files navigation

mock-api

A mock REST API for prototyping, testing, and development — powered by my-json-server from @typicode.

This repo contains a simple db.json file that acts as a fake API backend. It can be accessed online without any setup using the Typicode-hosted my-json-server.


🔗 Live API URL

You can use this fake API via:

https://my-json-server.typicode.com/uptype/mock-api

Replace /characters, /planets, etc. as needed.

Example endpoints:


📁 Contents

The API is based on the structure of db.json in this repo. You can add or modify the data as needed to suit your testing.


✅ Use Cases

  • Front-end prototyping
  • Demo projects
  • Testing API integrations without a real backend
  • Quick mocking in dev environments

🙏 Credit

This project is built using:


Create your own using your own sample data?

Head over to the my-json-server website for more info.

https://my-json-server.typicode.com/typicode/demo


🛠 Want to self-host?

If you'd rather spin-up and run a local version instead of using the hosted version, clone this repo and run:

npm install -g json-server json-server --watch db.json

Then access it at: http://localhost:3000


©️ Copyright

This mock-api is in no way affiliated with or endorsed by Lucasfilm Limited or any of its subsidiaries, employees, or associates. This mock-api offers no suggestion that the work presented on this web page is "official" or produced or sanctioned by the owner or any licensees of the aforementioned trademarks. This mock-api will take all steps necessary to ensure that any usage of trademarked items in no way confuses the audience of this site as to its origin. This mock-api makes no claim to own Star Wars or any of the copyrights or trademarks related to it. Images that are displayed on this site are copyrighted to Lucasfilm Limited or another partner of Lucas Licensing, or to the creator of the image. Visitors may download any pictures displayed on this site for personal use, as long as they are not used for profit, and proper credit is given.

The data and images are used without claim of ownership and belong to their respective owners.


📘 License

This repo is open source and available under the MIT License.

About

A demo repository for My JSON Server (Alpha)

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published