Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

vandal_ui

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

vandal_ui

  • 0.4.5
  • Rubygems
  • Socket score

Version published
Maintainers
1
Created
Source

Vandal UI

This is a Rails engine for Graphiti APIs. It has two main functions:

  • rake vandal:install will copy static files to public/<api_namespace>.
  • Mounting the engine adds an endpoint for a dynamically-generated schema file:
# config/routes.rb

scope path: ApplicationResource.endpoint_namespace, defaults: { format: :jsonapi } do
  # ... routes ...

  mount VandalUi::Engine, at: '/vandal'
end

If ApplicationRecord.endpoint_namespace is /api/v1, you'd get a /api/v1/vandal/schema.json that would be referenced when loading the UI.

FAQs

Package last updated on 03 Feb 2020

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc