Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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

Awesome Lists containing this project

README

        

# Basket


basket emoji

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": ""
}
]
```