datasette-graphql
madatdata
Our great sponsors
datasette-graphql | madatdata | |
---|---|---|
2 | 2 | |
97 | 6 | |
- | - | |
4.1 | 7.4 | |
20 days ago | 10 months ago | |
Python | TypeScript | |
Apache License 2.0 | Apache License 2.0 |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
datasette-graphql
-
Tuql: Automatically create a GraphQL server from a SQLite database
Impressive how little code is involved here! This is really neat.
The biggest feature I can see that's missing is pagination - it looks like this doesn't have a way to retrieve e.g. ten results, then pass a next token to get back the next set.
Here's how I implemented pagination in my similar datasette-graphql plugin (which also gives you a GraphQL API for an existing SQLite database): https://github.com/simonw/datasette-graphql#pagination
-
Are there open source projects to view that would help me understand cursors/pagination/edges/nodes & Inmemorycache ?
My source code is here, but it likely won't be much use to you - it's full of weird introspection because I'm trying to make this work against any database table: https://github.com/simonw/datasette-graphql/blob/1.4/datasette_graphql/utils.py
madatdata
-
Tuql: Automatically create a GraphQL server from a SQLite database
You might like what we're building with Seafowl [0], which is an open-source, single binary database you can deploy to the edge for executing cache-friendly queries (so e.g. you can deploy to fly.io free tier, load your data into it, and put Cloudflare in front of it to cache query results like any other HTTP response).
Here's an example [1] multi-page site with Next.js and Seafowl.
[0] https://seafowl.io/docs/getting-started/introduction
[1] https://github.com/splitgraph/madatdata/tree/main/examples/r...
-
How to start a React Project in 2023
If you're interested, this is the "absolute minimum" React project I was able to create, using `esbuild` (see `dev.mjs`) and some .html files. [0] It's a sub-package in a larger workspace, so there is some complexity inherited from the monorepo in terms of tsconfig.json and dependency management, but you can ignore that; the esbuild part was pleasantly simple to implement, and it pretty much "just works," such that each file in `www` is an entrypoint with one corresponding script from `pages/` that calls `createRoot(container).render()`.
[0] https://github.com/splitgraph/madatdata/tree/main/packages/t...
What are some alternatives?
datasette-dashboards - Datasette plugin providing data dashboards from metadata
react.dev - The React documentation website
csvs-to-sqlite - Convert CSV files into a SQLite database
pluralize - Pluralize or singularize any word based on a count
tuql - Automatically create a GraphQL server from a SQLite database or a SQL file
datasette-auth-github - Datasette plugin that authenticates users against GitHub
Tailwind CSS - A utility-first CSS framework for rapid UI development.
datasette-chatgpt-plugin - A Datasette plugin that turns a Datasette instance into a ChatGPT plugin
craco - Create React App Configuration Override, an easy and comprehensible configuration layer for Create React App.
core - 🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.