{"repo":"oslabs-beta/troveql","free":true,"listed":false,"github":"https://github.com/oslabs-beta/troveql","clone":"git clone https://github.com/oslabs-beta/troveql.git","description":"A server-side caching library for GraphQL written for Express.js with a built-in performance monitoring application","language":"JavaScript","stars":49,"topics":["caching","graphql","javascript","monitoring","typescript"],"license":"MIT","category":"analytics","readme_excerpt":"Welcome to TroveQL! TroveQL is a cache library for GraphQL APIs on Express.js servers with additional support for TroveMetrics, a cache performance monitoring application. Features - Server-side cache for GraphQL queries using the Advanced Replacement Cache (ARC) algorithm - Custom cache configurations with options such as total capacity - Cache invalidation logic on GraphQL mutations - Support for Node.js/Express.js servers - Cache performance monitoring with key metrics such as Hit/Miss Rate and Query Response Time Documentation Visit our website to get more information and watch a demo of TroveQL and its performance monitoring application TroveMetrics. Table of Contents - Install - Set Up - Queries and Mutations - Roadmap - Contribute - Stack - Authors - License Install TroveQL Install the Express library via npm Set up TroveQL in Express 1. Import TroveQLCache 2. Set up your TroveQL cache 3. Add the /troveql and, if applicable, /trovemetrics endpoints 4. Add your GraphQL endpoint. For example: 5. To use TroveMetrics to monitor the performance of your cache and GraphQL API on your application's server, you can go to our website and download the desktop application for your OS (macOS, Windows, Linux). Query or Mutate your GraphQL API Simply send a request to your GraphQL API for queries and mutations as you normally would. For example, a query with variables using the fetch syntax could look like: TroveQL Demo Download our TroveQL demo to see how TroveQL is run: troveql-dem","default_branch":null,"files":null,"tree":[],"storefront":"/r/oslabs-beta","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/oslabs-beta/troveql/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}