Giter Site home page Giter Site logo

pboonlia / sandbox Goto Github PK

View Code? Open in Web Editor NEW

This project forked from getsandbox/worker-cli

0.0 2.0 0.0 1.01 MB

Sandbox Runtime is the core processing component of the Sandbox product

Home Page: https://getsandbox.com

License: MIT License

Shell 0.35% Java 37.08% JavaScript 62.58%

sandbox's Introduction

Sandbox Runtime

Sandbox is a platform to quickly and easily create or generate web service mocks, with instant deploy, collaborative build, and debugging tools for API developers. More info - https://getsandbox.com

Sandbox Runtime is the core processing component of the Sandbox product, it is responsible for executing HTTP requests against your definition files (main.js etc) and templates (template.liquid) to produce a response.

This project consists of both the core runtime code, and a lightweight wrapper to simplify command line use. The compiled version is around 10mb and can be run on mac and linux.

Installation

The code can be cloned and compiled by itself (Gradle is used for dependency management) or you can just download the compiled and packaged binary which can be run from the command line on a supported OS.

Latest compiled binary

Codeship Status for getsandbox/sandbox

Dependencies

  • Java 8 Update 20 or later - important! you actually might not have this, it is pretty recent.
  • Mac or Linux

Operating System

The runtime is Java based, so it will run on any OS that Java 8 supports.

Commands

The CLI currently supports one action sandbox run which will start the runtime with the base directory being the current directory.

Commands:
run      Starts a sandbox runtime in the current working directory.

Options:
--port=<port number>
--base=<base directory> (Overrides working directory)
--verbose (Increases logging verbosity, full request and response bodies etc)

Note for Windows Users: The above commands are for for *nix/mac operating systems that support shell scripts (the binary linked above is basically just a JAR file with a sh wrapper), so Windows users will have to run the standard Java start commands like: java -jar sandbox --port=8080 run

Getting Started

For a basic example checkout the examples directory, more detail is available on the Sandbox Getting Started and the API Definition pages.

License

MIT

sandbox's People

Contributors

nhoughto avatar

Watchers

James Cloos avatar Pallav Boonlia avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.