caalberts / localroast Goto Github PK
View Code? Open in Web Editor NEWMock a server for development and testing
License: MIT License
Mock a server for development and testing
License: MIT License
https://swagger.io/specification/
Questions:
Useful to support multiple responses, such as success, failure, errors.
Options:
Hi there,
I have experimented some with your wonderful application, but have an issue that I would like to take up for discussion.
I'm trying to use localroast for mocking API data for one of my applications on localhost, but unfortunately when running it I get a CORS error.
Would it be possible to implement an access control allow origin header? Something like this:
Access-Control-Allow-Origin: *
This would make it possible to use it to mock data in an application running on a different localhost port.
Thanks in advance!
Inspired by elasticsearch ?pretty
flag.
http://localroast:8080/users?pretty
should return a properly indented JSON.
Thumbs up if a .yml
file would be useful.
Suggestions on what the format of .yml
would be appreciated too. One idea I had was to work based on swagger, as it's a common API documentation format.
It would be great to have auto-generated values for the responses especially for list endpoints. Mocking a large response list is otherwise just a very dumb task
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.