Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mr-destructive/grafbase-mindsdb
Query MindsDB API with Grafbase as a GraphQL endpoint
https://github.com/mr-destructive/grafbase-mindsdb
grafbase graphql-api mindsdb
Last synced: about 2 months ago
JSON representation
Query MindsDB API with Grafbase as a GraphQL endpoint
- Host: GitHub
- URL: https://github.com/mr-destructive/grafbase-mindsdb
- Owner: Mr-Destructive
- License: mit
- Created: 2023-08-13T10:27:53.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2023-08-17T14:10:37.000Z (over 1 year ago)
- Last Synced: 2024-11-12T11:02:48.861Z (about 2 months ago)
- Topics: grafbase, graphql-api, mindsdb
- Language: TypeScript
- Homepage: https://mindsdb-dev-main-mr-destructive.grafbase.app/graphql
- Size: 32.2 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# MindsDB Grafbase GraphQL API
A GraphQL API for MindsDB using Grafbase. It allows you to interact with MindsDB databases, projects, models, and more through a GraphQL interface.
**Hashnode x Grafbase Hackathon Project**
[Article](https://techstructiveblog.hashnode.dev/mindsdb-grafbase-graphql-api)
---https://github.com/Mr-Destructive/grafbase-mindsdb/assets/40317114/0ff1386d-a896-49b1-9cff-a1830c3851a7
## Features
- Query MindsDB databases, projects, models, tables, and views
- Create, update, and delete databases, projects, models, tables, and views
- Make predictions using MindsDB models
- Run SQL queries directly on MindsDB databases
- Leverages Grafbase for auto-generated GraphQL schema and resolvers## Getting Started
### Prerequisites
- Node.js (recommended v20)
- MindsDB instance running
- Grafbase CLI### Installation
```
git clone https://github.com/mr-destructive/grafbase-mindsdb
cd grafbase-mindsdb
npm install
```## Usage
Get the local Graphbase server running
```
grafbase dev
```The GraphQL playground will now be available at `http://localhost:4000`.
See the Grafbase docs for more info on configuring and deploying your API.
## Contributing
Pull requests are welcome! Feel free to open issues for any bugs or desired features.
## License
This project is licensed under the MIT license. See LICENSE for more info.