Coder Social home page Coder Social logo

syedfaisalsaleeem / fastapi-strawberry-graphql-sqlalchemy-boilerplate Goto Github PK

View Code? Open in Web Editor NEW
136.0 2.0 23.0 45 KB

Boiler plate project for using GraphQL (Strawberry) with FastAPI and Async SQL Alchemy ๐Ÿ“

Home Page: https://graphql-stickynotes.herokuapp.com/graphql

License: MIT License

Python 96.42% Shell 0.49% Dockerfile 1.46% Mako 1.63%
async fastapi postgresql python sqlalchemy strawberry-graphql graphql-server

fastapi-strawberry-graphql-sqlalchemy-boilerplate's Issues

Environment variables missing - project won't start.

Nice boilerplate. Thanks for this.

However it does not work as provided. Environment variables missing - project won't start.

I tried setting it up with some sane defaults, but still then the project wont load.


export HOST_HTTP="http://localhost"
export HOST_URL="/graph"
export HOST_PORT=8000
export POSTGRES_USER="postgres"
export POSTGRES_PASSWORD=""
export POSTGRES_SERVER="127.0.0.1"
export POSTGRES_PORT=5432
export POSTGRES_DB="fastapi_strawberry"


You get the error ERROR: [Errno 8] nodename nor servname provided, or not known

Docker volume always empty

Thanks for your project, but can you explain how can I save data in volume? Cause right now volume always empty after docker compose down/up

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.