Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/oslabs-beta/speql8
Speculative GraphQL metrics for your Postgres databases.
https://github.com/oslabs-beta/speql8
database-url graphiql-interface graphql-query ioredis postgraphile postgres-database redis redis-cache socket-io
Last synced: about 1 month ago
JSON representation
Speculative GraphQL metrics for your Postgres databases.
- Host: GitHub
- URL: https://github.com/oslabs-beta/speql8
- Owner: oslabs-beta
- License: mit
- Created: 2021-05-07T15:11:30.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2021-06-03T18:30:44.000Z (over 3 years ago)
- Last Synced: 2024-10-11T13:20:50.743Z (about 1 month ago)
- Topics: database-url, graphiql-interface, graphql-query, ioredis, postgraphile, postgres-database, redis, redis-cache, socket-io
- Language: JavaScript
- Homepage:
- Size: 1.05 MB
- Stars: 68
- Watchers: 4
- Forks: 16
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
SpeQL8
Speculative GraphQL metrics for your Postgres databases
✨✨✨
___
## About
SpeQL8 enables you to run GraphQL queries on an existing Postgres database and collect request-response metrics per query. View and compare query response times from both your database and from a lightning fast Redis cache, all in the comfort and security of your local development environment.Upload a .sql or .tar file to spin up your postgres database from SpeQL8 or simply plug in a Postgres database client URL (e.g. ElephantSQL).
___
## Get Started With SpeQL8:
You can either spin up locally on your own machine, or inside a Docker container:A) Local Install
* Fork and clone this repository
* Ensure you have an instance of Redis Server active.
* Run `npm install && npm build && npm start`
* Open `localhost:3333`B) Containerized
* Fork and clone this repository
* In the SpeQL8 root directory, run the command `npm run speql8`
* Open `localhost:3333`
* please note - creating GraphQL API instances from a .sql or .tar file is a forthcoming feature in the containerized version
___
## Prerequisites
Be sure to have PostgreSQL and Docker installed on your local machine before attempting to run SpeQL8 via Dockerfile. If running locally, you'll need Redis CLI & Redis Server installed.
___
## Built With
[Apollo-Server](https://www.apollographql.com/docs/apollo-server/) | [Socket.IO](https://socket.io) | [ioredis](https://docs.redislabs.com/latest/rs/references/client_references/client_ioredis/) | [Postgraphile](https://www.graphile.org/postgraphile/) | [GraphiQL](https://github.com/graphql/graphiql) | [React](https://reactjs.org) | [Node.js](node.js) | [Express](https://expressjs.com) | [Docker-Compose](https://docs.docker.com/compose/) | [PostgreSQL](https://www.postgresql.org)Thank you!
___
## Contribute
SpeQL8 is open-source and accepting contributions. If you would like to contribute to SpeQL8, please fork [this repo](https://github.com/oslabs-beta/SpeQL8), add changes to a feature branch, and make a pull request. Thank you for your support and contributions, and don't forget to give us a ⭐!
___
## Maintainers
🌠 [Allan MacLean](https://github.com/allanmaclean)🌠 [Akiko Hagio Dulaney](https://github.com/akikoinhd)
🌠 [Ekaterina Vasileva](https://github.com/vs-kat)
🌠 [Russell Hayward](https://github.com/russdawg44)
___
## License
This product is released under the MIT LicenseThis product is accelerated by [OS Labs](https://opensourcelabs.io/).