Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/andrewn6/basket
Database as a Service
https://github.com/andrewn6/basket
Last synced: 6 days ago
JSON representation
Database as a Service
- Host: GitHub
- URL: https://github.com/andrewn6/basket
- Owner: andrewn6
- License: mpl-2.0
- Created: 2023-02-12T15:33:25.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2022-11-12T00:39:15.000Z (about 2 years ago)
- Last Synced: 2024-12-31T07:44:21.642Z (8 days ago)
- Homepage:
- Size: 216 KB
- Stars: 1
- Watchers: 0
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Basket
Basket is a database as a service tool powered by [Fly](https://fly.io). It currently supports [Redis](https://redis.io), [MongoDB](https://www.mongodb.com), [MySQL](https://www.mysql.com) and [PostgreSQL](https://www.postgresql.org). It is modular and can be extended to support other databases.
## Adding a new database
- Add database type in `backend/prisma/schema.prisma`
```js
enum StoreType {
REDIS
}
```- Add database configs in `backend/src/provider.ts`
```json
[
"REDIS",
{
"image": "registry.wyzl.io/basket/redis:7",
"password_var": "REDIS_PASSWORD",
"port": 6379,
"data": "/data",
"protocol": "redis",
"username": "default",
"dbName": ""
}
]
```