Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/olirice/nebulo
Instant GraphQL API for PostgreSQL and SQLAlchemy
https://github.com/olirice/nebulo
database graphql graphql-apis postgres sqlalchemy
Last synced: 5 days ago
JSON representation
Instant GraphQL API for PostgreSQL and SQLAlchemy
- Host: GitHub
- URL: https://github.com/olirice/nebulo
- Owner: olirice
- License: mit
- Created: 2019-07-31T21:54:56.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2023-01-31T16:25:08.000Z (almost 2 years ago)
- Last Synced: 2024-11-01T03:18:32.576Z (12 days ago)
- Topics: database, graphql, graphql-apis, postgres, sqlalchemy
- Language: Python
- Homepage:
- Size: 6.81 MB
- Stars: 92
- Watchers: 4
- Forks: 5
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Nebulo
---
**Documentation**: https://olirice.github.io/nebulo
**Source Code**: https://github.com/olirice/nebulo
---
**Instant GraphQL API for PostgreSQL**
[Reflect](https://en.wikipedia.org/wiki/Reflection_(computer_programming)) a highly performant [GraphQL](https://graphql.org/learn/) API from an existing [PostgreSQL](https://www.postgresql.org/) database.
Nebulo is a python library for building GraphQL APIs on top of PostgreSQL. It has a command line interface for reflecting databases with 0 code or can be added to existing [SQLAlchemy](https://www.sqlalchemy.org/) projects.
## TL;DR
First, install nebulo
```shell
$ pip install nebulo
```Then point the CLI at an existing PostgreSQL database using connection string format `postgresql://:@:/`
```shell
neb run -c postgresql://nebulo_user:password@localhost:4443/nebulo_db
```Visit your shiny new GraphQL API at [http://localhost:5034/graphiql](http://localhost:5034/graphiql)
![graphiql image](docs/images/graphiql.png)
Next, check out the [docs](https://olirice.github.io/nebulo/quickstart/) guide for a small end-to-end example.
—— ——