jmatraszek / haxonite Goto Github PK
View Code? Open in Web Editor NEWHaxonite: Rock-solid API mocking for hackers
License: Apache License 2.0
Haxonite: Rock-solid API mocking for hackers
License: Apache License 2.0
Migrate to Gotham, since Iron is dead
The proxy works fine with json-server at http://localhost:3000, but with haxonite I got this error:
[HPM] Error occurred while trying to proxy request /user from localhost:4200 to http://localhost:3000 (ECONNREFUSED)
$ cargo test
[...]
Compiling openssl v0.9.24
error: failed to run custom build command for `openssl v0.9.24`
process didn't exit successfully: `/home/jakub/dev/haxonite/target/debug/build/openssl-ec4fd2a9e78c414f/build-script-build` (exit code: 101)
--- stderr
thread 'main' panicked at 'Unable to detect OpenSSL version', /home/jakub/.cargo/registry/src/github.com-1ecc6299db9ec823/openssl-0.9.24/build.rs:16:14
note: Run with `RUST_BACKTRACE=1` for a backtrace.
warning: build failed, waiting for other jobs to finish...
error: build failed
openssl
is a dependency of reqwest
, so upgrading reqwest
should fix the issue.
Haxonite panicks when Iron cannot start (for example: port already taken, trying to bind to <1024 port without root).
$ haxonite -p 100
[...]
thread 'main' panicked at 'called `Result::unwrap()` on an `Err` value: Io(Error { repr: Os { code: 13, message: "Permission denied" } })', ../src/libcore/result.rs:799
note: Run with `RUST_BACKTRACE=1` for a backtrace.
You may want to fill in GitHub repository description. It currently says "No description or website provided".
Error:
CORS missing allow origin
Self-explanatory. ;)
Currently, there is no way to set HTTP headers in the response (except for "Content-Type"). Support for that should be added.
May be useful for testing timeouts handling etc.
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.