starter
databases
Our great sponsors
starter | databases | |
---|---|---|
9 | 15 | |
1,707 | 3,700 | |
1.5% | 1.1% | |
5.4 | 5.8 | |
3 days ago | 18 days ago | |
TypeScript | Python | |
GNU General Public License v3.0 or later | BSD 3-clause "New" or "Revised" License |
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.
starter
-
Ask HN: Solo Dev Stack of 2022?
I've been enjoying developing on top of PostGraphile. https://www.graphile.org/
Good starter: https://github.com/graphile/starter
I can add a column the the db, and my frontend gets that autimagically (in dev mode, it generates a graphql schema out of the db, and from that it creates composables for my frontend wiht graphql-codegen). On the frontend I use Vue 3, the starter is build with nextjs/react.
-
Show HN: Appwrite – Open-Source and Self Hosted Firebase Alternative
I learned so much about postgresql and RLS from postgraphile starter project: https://github.com/graphile/starter/blob/main/%40app/db/migr...
also the project is worth checking out ;)
- Have my first GraphQL project at work. Any recommended learning resource for production-ready GraphQL APIs?
-
Best resource to learn PL/pgSQL?
I'm a fairly seasoned developer, but I've started contributing to a project (graphile-starter) where the core business logic is defined in PL/pgSQL functions and realized I have a lot to learn.
-
PostgREST v9.0.0
Someone called it: "hasura for adults”
It's highly customisable, works directly with postgresql row levels security and the performance is quite good. It has a custom GraphiQL gui to work on queries/mutations.
To really see how it all works together checkout the starter project: https://github.com/graphile/starter it has migrations, job queue, graphql-codegen etc.
Benjie (https://github.com/benjie) is one of the greatest maintainers I've ever seen!
- Are there any "Opinionated" backend web app frameworks for node?
-
SAME BACKEND FOR WEB APP AND MOBILE APP ?
Here’s a full stack, batteries included example: https://github.com/graphile/starter it doesn’t have mobile app yet but could be added relatively easily.
-
Bedrock - modern full-stack Next.js & GraphQL boilerplate
Postgraphile starter uses most of the same tech and has all the same functionality as far as I can tell, with the additional benefit of Postgraphile generating your GraphQL schema and resolvers instead of worrying them manually.
-
Overwhelmed with auth options, looking for constructive feedback
Check out the Postgraphile Starter and how it handles auth and sessions in a graphql api
databases
- Whats the standard way for interacting with a DB.
-
Getting Started with Fast-Api 🏎️ and Docker🐳
In the code ,we are using SQLAlchemy as our ORM(Object Relational Mapper) and Databases as our query builder.
-
A Deep Dive into Connecting FastAPI with SingleStore.
MySQL is a powerful and popular database, and it's well-suited for use with Python. In the following section, we are going through how to set up a connection to a MySQL database in an asynchronous manner using the create_asynchrouns_engine function from SQLAlchemy. We'll also use the databases package and the aiomysql extra dependency. We'll also adapt the SQLAlchemy declarative approach to defining our users' table.
-
Django 4.1 alpha 1 released
To take an example: I switched a service over from doing synchronous (plain def everywhere) to async (async def and await everywhere, with async DB, and saw… basically no performance improvement.
- PostgREST v9.0.0
-
python asyncio, how to prevent the other functions "block" themselves when connecting to db?
No, as I said, async db connection is the key. You can do that with SQLAlchemy using the databases library, but since you are not using SQLAlchemy it makes more sense to use the underlying db driver, aiomysql, directly.
- Database library
-
Best approach for async SQLAlchemy in FastAPI
Using the encode/databases library and forgoing SQLAlchemy's ORM
-
FastAPI + Ormar + Alembic setup
ormar is a mini async ORM for python. It uses sqlalchemy for building queries, databases for asynchronous execution of queries, and pydantic for data validation. You can create an ormar model and generate pydantic models from it.
-
async sqlalchemy question db question
works but there seems to be a difference between the regular slqalchemy syntax from what https://github.com/encode/databases/ is using in the docs?
What are some alternatives?
crystal - 🔮 Graphile's Crystal Monorepo; home to Grafast, PostGraphile, pg-introspection, pg-sql2 and much more!
aiomysql - aiomysql is a library for accessing a MySQL database from the asyncio
codebase - a software and writing repository
aiosql - Simple SQL in Python
sandman2 - Automatically generate a RESTful API service for your legacy database. No code required!
asyncmy - A fast asyncio MySQL/MariaDB driver with replication protocol support
next-auth - Authentication for the Web.
alembic - A database migrations tool for SQLAlchemy.
apollo-cache-policies - An extension of the Apollo 3 cache with support for advanced cache policies.
fastapi-users - Ready-to-use and customizable users management for FastAPI
typescript-eslint-language-service - TypeScript language service plugin for ESLint
full-stack-fastapi-template - Full stack, modern web application template. Using FastAPI, React, SQLModel, PostgreSQL, Docker, GitHub Actions, automatic HTTPS and more.