Code Monkey home page Code Monkey logo

jsonapi-payload-explorer's Introduction

JSON:API Payload Explorer

A tool to preview, search and inspect JSON:API payloads. Supports sideposting & sideloading.

Development

git clone [email protected]:veelenga/jsonapi-payload-explorer.git
cd jsonapi-payload-explorer/

yarn install
yarn start

See instructions how to run backend part.

Deployment

Deploy to GitHub pages:

yarn run deploy

jsonapi-payload-explorer's People

Contributors

veelenga avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

denis90

jsonapi-payload-explorer's Issues

Show stats

  • total amount of records
  • size of the payloads in Kb

Automatically copy url to clipboard

When saving the payload it would be nice that the URL gets automatically copied to the clipboard so there's no need to manually copy it.
The toast message would probably need to change too.

Copy as cURL does not work

curl 'http://localhost:3000/v2/groups/212' \
  -X 'PATCH' \
  -H 'Connection: keep-alive' \
  -H 'Pragma: no-cache' \
  -H 'Cache-Control: no-cache' \
  -H 'sec-ch-ua: "Google Chrome";v="87", " Not;A Brand";v="99", "Chromium";v="87"' \
  -H 'Accept: application/vnd.api+json' \
  -H 'sec-ch-ua-mobile: ?0' \
  -H 'User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/87.0.4280.88 Safari/537.36' \
  -H 'Content-Type: application/vnd.api+json' \
  -H 'Origin: http://localhost:4200' \
  -H 'Sec-Fetch-Site: same-site' \
  -H 'Sec-Fetch-Mode: cors' \
  -H 'Sec-Fetch-Dest: empty' \
  -H 'Referer: http://localhost:4200/' \
  -H 'Accept-Language: en-US,en;q=0.9,uk;q=0.8,ru;q=0.7' \
  --data-binary '{"data":{"id":"212","type":"event_group","relationships":{"teams":{"data":[{"type":"event_group_teams","id":"746"},{"type":"event_group_teams","id":"747"},{"type":"event_group_teams","id":"748"},{"type":"event_group_teams","id":"749"},{"type":"event_group_teams","id":"750"},{"type":"event_group_teams","id":"751"}]}}},"included":[{"type":"event_group_teams","id":"746","relationships":{"event_group_team_members":{"data":[]}}},{"type":"event_group_teams","id":"747","relationships":{"event_group_team_members":{"data":[]}}},{"type":"event_group_teams","id":"748","relationships":{"event_group_team_members":{"data":[]}}},{"type":"event_group_team_members","id":"102","relationships":{"user":{"data":{"type":"users","id":"3"}}}},{"type":"event_group_teams","id":"749","relationships":{"event_group_team_members":{"data":[{"type":"event_group_team_members","id":"102"}]}}},{"type":"event_group_teams","id":"750","relationships":{"event_group_team_members":{"data":[]}}},{"type":"event_group_team_members","attributes":{"is_primary":true},"id":"96","relationships":{"user":{"data":{"type":"users","id":"10"}}}},{"type":"event_group_team_members","id":"97","relationships":{"user":{"data":{"type":"users","id":"1"}}}},{"type":"event_group_team_members","attributes":{"is_primary":false},"id":"103","relationships":{"user":{"data":{"type":"users","id":"3"}}}},{"type":"event_group_teams","id":"751","relationships":{"event_group_team_members":{"data":[{"type":"event_group_team_members","method":"update","id":"96"},{"type":"event_group_team_members","id":"97"},{"type":"event_group_team_members","method":"update","id":"103"}]}}}]}' \
  --compressed

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.