All Projects β†’ obytes β†’ fastql

obytes / fastql

Licence: MIT license
βš™οΈ Full stack, Modern Web Application Generator. ✨ Using FastAPI, GraphQL, PostgreSQL as database, Docker, automatic HTTPS and more. πŸ”–

Programming Languages

python
139335 projects - #7 most used programming language
Dockerfile
14818 projects
shell
77523 projects
Makefile
30231 projects
Mako
254 projects

Projects that are alternatives of or similar to fastql

fastapi-debug-toolbar
A debug toolbar for FastAPI.
Stars: ✭ 90 (+12.5%)
Mutual labels:  graphene, ariadne, fastapi
starlette-graphene3
An ASGI app for using Graphene v3 with Starlette / FastAPI
Stars: ✭ 52 (-35%)
Mutual labels:  graphene, fastapi
ml-ops
Get your MLOps (Level 1) platform started and going fast.
Stars: ✭ 81 (+1.25%)
Mutual labels:  rabbitmq, fastapi
CourseCake
By serving course πŸ“š data that is more "edible" 🍰 for developers, we hope CourseCake offers a smooth approach to build useful tools for students.
Stars: ✭ 21 (-73.75%)
Mutual labels:  graphene, fastapi
rabbitmq-rtopic-exchange
RabbitMQ Reverse Topic Exchange
Stars: ✭ 25 (-68.75%)
Mutual labels:  rabbitmq
favv
Fullstack Web Application Framework With FastAPI + Vite + VueJS. Streamlit for rapid development.
Stars: ✭ 17 (-78.75%)
Mutual labels:  fastapi
frontreport
Simple frontend logging collector written in Go
Stars: ✭ 23 (-71.25%)
Mutual labels:  rabbitmq
dis-seckill-test
⭐⭐⭐SpringBoot+Zookeeper+Dubboζ‰“ι€ εˆ†εΈƒεΌι«˜εΉΆε‘ε•†ε“η§’ζ€η³»η»Ÿ
Stars: ✭ 20 (-75%)
Mutual labels:  rabbitmq
rabbitmq-jms-client
RabbitMQ JMS client
Stars: ✭ 51 (-36.25%)
Mutual labels:  rabbitmq
fastapi-etag
Convenience library for working with etags in fastapi
Stars: ✭ 19 (-76.25%)
Mutual labels:  fastapi
ml in production
A set of demo of deploying a Machine Learning Model in production using various methods
Stars: ✭ 49 (-38.75%)
Mutual labels:  fastapi
microservice-email
Microservice for send emails
Stars: ✭ 25 (-68.75%)
Mutual labels:  rabbitmq
fastapi-saas-base
Fast API SAAS Base App
Stars: ✭ 47 (-41.25%)
Mutual labels:  fastapi
jimbru
A lightweight analytics server with FastAPI and deta.sh Base as DB. A glorified hit-counter of sorts 😁
Stars: ✭ 43 (-46.25%)
Mutual labels:  fastapi
fastapi-plotly-dash
Sample application running a Dash app in a FastAPI server
Stars: ✭ 72 (-10%)
Mutual labels:  fastapi
random-dose-of-knowledge
Using the latest Software Engineering practices to create a modern and simple app.
Stars: ✭ 26 (-67.5%)
Mutual labels:  fastapi
Carrot
Carrot is a .NET lightweight library that provides a couple of facilities over RabbitMQ.
Stars: ✭ 14 (-82.5%)
Mutual labels:  rabbitmq
cottontail
Capture all RabbitMQ messages being sent through a broker.
Stars: ✭ 23 (-71.25%)
Mutual labels:  rabbitmq
tacc stats
TACC Stats is an automated resource-usage monitoring and analysis package.
Stars: ✭ 36 (-55%)
Mutual labels:  rabbitmq
ChefAPI
API using FastAPI and PostgreSQL for sharing or keeping track of awesome food recipes Based on Oauth2 and JWT πŸ’Ž
Stars: ✭ 16 (-80%)
Mutual labels:  fastapi

FastQL - FastAPI GraphQL Playground πŸ”§

fastql

Generate a FullStack playground using FastAPI and GraphQL and Ariadne ⚑

This Repository is based on this Article Getting started with GraphQL in Python with FastAPI and Ariadne, Read Article to know how to use it.

Overview πŸ“Œ

  • FastAPI is a modern, fast (high-performance), web framework for building APIs with Python 3.6+ based on standard Python type hints.
  • GraphQL used to create a schema to describe all the possible data that clients can query through that service. A GraphQL schema is made up of object types, which define which kind of object you can request and what fields it has.
  • Ariadne is a Python library for implementing GraphQL servers using schema-first approach.

Features

  • Full Docker integration (Docker based).
  • Docker Compose integration and optimization for local development.
  • Production ready Python web server using Uvicorn and Gunicorn.
  • GraphQL playground based on Graphene and Ariadne.
  • Docker Compose integration and optimization for local development.
  • Production ready Python web server using Uvicorn.
  • Secure password hashing by default.
  • JWT token authentication.
  • SQLAlchemy database integration using PostgreSQL.
  • Alembic migrations for database schema.
  • rabbitMQ (asynchronous) message broker.
  • API tests based on Pytest, integrated with Docker, so you can test the full API interaction, independent on the database.

Getting Started

Project setup

# clone the repo
$ git clone https://github.com/obytes/fastql.git

# move to the project folder
$ cd fastql

Running the Docker Container

  • We have the Dockerfile created in above section. Now, we will use the Dockerfile to create the image of the FastAPI app and then start the FastAPI app container.
  • Using a preconfigured Makefile tor run the Docker Compose:
# Pull the latest image
$ make pull

# Build the image
$ make build

# Run the container
$ make start

Testing

While i use HTTPX an HTTP client for Python 3, to test the API, most of the tests are using a live log thats why need before to run a server using uvicorn and migrate the database, then you will have the ability to run the tests. To have a clean environment, recommended to use Docker for that, when you start the containers try to open the application container and then run pytest to test the API.

License

This project is licensed under the terms of the MIT license.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].