Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tutorial: Datasette with GraphQL #96

Open
simonw opened this issue Mar 28, 2022 · 0 comments
Open

Tutorial: Datasette with GraphQL #96

simonw opened this issue Mar 28, 2022 · 0 comments
Labels
documentation Improvements or additions to documentation tutorials

Comments

@simonw
Copy link
Owner

simonw commented Mar 28, 2022

Shortest version:

pip install datasette datasette-graphql sqlite-utils
# Convert your CSV file to SQLite
sqlite-utils insert database.db mytable mydata.csv --csv
# Start the Datasette server
datasette database.db
# Now http://localhost:8001/graphql is a GraphQL server

Tutorial can teach how to deploy a new GraphQL API online too - focus would be rapid prototyping.

@simonw simonw added the documentation Improvements or additions to documentation label Mar 28, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation tutorials
Projects
None yet
Development

No branches or pull requests

1 participant