Replies: 1 comment 3 replies
-
Running Ariadne's ASGI app directly through Uvicorn (or other ASGI server) is nice starting point for experimenting with GraphQL APIs, but for real use with databases and access control you should embed your GraphQL app in more featured ASGI framework like Starlette or FastAPI. Eg.: https://fastapi.tiangolo.com/advanced/async-sql-databases/ |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi,
I have made a basic API using Aridane with ariadne.asgi which runs perfectly using uvicorn. I store the data in an sqlite database using python's sqlite3 library.
Now I am not able to understand how do I host the server so that it runs and also has access to the .db file. I want to deploy using heroku. Also how can I restrict it's use only to my React application.
Thank you!
Beta Was this translation helpful? Give feedback.
All reactions