Coder Social home page Coder Social logo

tburch / jsonblob Goto Github PK

View Code? Open in Web Editor NEW
319.0 319.0 83.0 1.72 MB

JSON Blob was created to help parallelize client/server development. Mock JSON responses can be defined using the online editor and then clients can use the JSON Blob API to retrieve and update the mock responses.

Home Page: http://jsonblob.com

License: Apache License 2.0

CSS 6.00% JavaScript 61.87% HTML 1.02% Handlebars 11.25% Kotlin 19.87%

jsonblob's People

Contributors

chulanovskyi-bs avatar dependabot-preview[bot] avatar jlleitschuh avatar joaquinfernandez131 avatar tburch avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

jsonblob's Issues

Need some help in setting this in my ENV

I would like to set this up in my environment. As I am new to Kotlin, couldn't understand what are the steps or the configuration to be updated if I want to run my own instance.

  • What variables/configuration I need to take care.
  • Any other things which I should keep in mind while building/deploying

500 status errors on queries against API

Many thanks for the great tool. Unfortunately, I'm getting 500 errors on queries against the API since yesterday. The code worked fine for a few days. Now it doesn't. There also seems to be a problem with the web interface. See attached image. Any guidance would be very much appreciated.
jsonblobwebuicrosssiterequestissue

Update API documentation to remove references to http

I don't know why i'm receiving this error

let request = require('request');

var options = {
		    url:'http://jsonblob.com/api/jsonBlob/',
		    form: {"message": "as"},
		    timeout: 0,
			    headers: {
			    'Content-Type': 'application/json',
	    		'Accept': 'application/json'
	  		}
		};

		request.post(options, function(err,response,body){
			console.log(err, response.statusCode,body)

		});

This is how i made the request

And this is the console log
null 301 ''

I think i am missing a thing, but I don't know that

Provide a way to use either runtime 1.7 or 1.8

I just setup my local environment, and I have java runtime 1.7. I've changed the pom.xml and system.properties, and it works perfectly. But perhaps, it would be nice to auto-discover which runtime you have installed? Just an idea.

Provide feedback after clicking save

A modal is shown the first time save is clicked, but for each time after, the user isn't given any additional feedback that the blob has been saved. It would be nice to have something that doesn't require a user to click confirm and just disappears from the screen after a coupe of seconds.

Dark Mode

Any plans for dark mode?

Thanks,
Kerem

Webiste is down

Can you please let us know when will jsonblob.com gonna be up an running. My entire work data are stored on your website.

Thanks

return id as response via API

@tburch Is there a way to return the generated id of the stored JSON in the response instead of the actual object, so we can access it through the API at a later stage?

Thanks

Modals are getting in the way of the buttons

I think this is recent. When I tried your app a few days ago it worked fine. I can't click any of the buttons, because there appears to be a bunch of hidden modals in the way. If I display block them all, then the buttons work [ but then the modals are obviously display: none =P]

Unfortunately I have zero interest in working in Java, so I won't be contributing, although I'm considering porting it as a client-side app... although I'm not liking that I have to convert this weird groovy templating language into something less proprietary and more universal like Handlebars. Regardless, nice job; cool app.

Blob coming back after few days deleting!

Blob is not deleting permanently for dictionaries data type. For some days after deleting it says "Blob does not exists" but later after few more days it starts existing with all the data which was saved before deleting plus adding 2 more keys in the dict at top (attached in img). Make deletion permanent for dictionaries data type. This is not happening with lists data type.
img

jsonblob Chrome Extension

Hey tburch,

I really appreciate you making this tool available. I made a Chrome Extension using the API so that I can keep track of jsonblobs I've made and update them instead of creating new ones all the time. I was wondering if you would be okay with me releasing it to the public.

Here is a link to the repo if you'd like to take a look: chrome_jsonblob

Keyboard shortcut for 'save'?

I came across jsonblob.com and love it. Thank you for creating and sharing it!
Is there a keyboard shortcut that can be used to save the current version of the JSON file from the editor to the server?
Using the menu to save gets a bit tedious after a little while.

Bad Accept-Language header

Can not access to jsonblob.com, please fix is a useful tool for share.

Bad Accept-Language header value: 'es-419,es;q=0.9,en;q=0.8'

Best Regards from México.

Control access to multiple users with a X-Role header

Let's say, I want all Admins to edit the JSON and all Mods to only view the JSON.
Specifying the permissions via the headers would be useful.
X-Role: Admin
Or
X-Permission: view;edit
This was I could reuse the same session object for multiple functions that span between viewing and editing the JSON by a collaborator.

Create Gist option is not working

Hi,

Thank you for this awesome project!

I would want to raise that the Create Gist option is not working on the website. It receives 401 HTTP error from https://api.github.com

image

I would like to contribute if there is anything to be done in the code.

Thank you.

Error: Unrecognized field at: mongo

Hi,

Build with maven(mvn clean package) was successful.

Environment:
OS: Ubuntu Server 16.04 LTS
Java: 1.8.0_144
Maven: Apache Maven 3.3.9
MongoDB: 3.4

I am new to java and maven and have less knowledge of how it works. While trying to start the application I got below error:

admin@localhost:~/jsonblob$ java -Ddw.mongo.type=uri -Ddw.mongo.uri=mongodb://127.0.0.1:27017/jsonblob -jar target/jsonblob.jar server target/config/jsonblob.yml

target/config/jsonblob.yml has an error:

  • Unrecognized field at: mongo
    Did you mean?:
    • ga
    • logging
    • server
    • metrics
    • blobManager
      [1 more]

Can you please explain or guide me on how to resolve this issue?

Chrome extension API

I've been working on a Chrome extension for personal use to quickly create the mock responses using the jsonblob API. My post request is having it's preflight response rejected with a 404. I'm able to make PUT/GET requests. My current work around is having my extension store blob ids made on the app and reusing them with PUT requests but it would be nice to be able to create your own as you need them.

The server seems to configured to have allow any origin and accepts a lot of headers so I don't see why it won't accept the preflight request.

screen shot 2016-11-24 at 11 00 17am
-Response headers

My guess is that a configuration on the server prevents POST requests from a chrome extension but it could also be something on the chrome extension. Any ideas?

"repair JSON" button

A very useful feature is the "repair JSON" button as it is in jsoneditoronline.org:

screen shot 2018-01-19 at 12 02 19

Is it an ACE feature that just need to be added to the toolbar? It would be great to have it

thank you

The API is 500ing

jsonblob was working fine, and all of a sudden, we started receiving 500, server errors from the API.

The homepage works fine, but the xhr on the save event is 500ing as well.

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.