This project consists of two Github repos:
1. NPM package: https://github.com/nearup-io/nodb-js
2. Deployable API that NPM package leverages: https://github.com/nearup-io/nodb
In previous launch we used MongoDB Atlas and the project wasn't really open-source. We switched to Postgres because it makes it possible to build compliant open-source.
Nodb uses native jsonb for Postgres so you don't have to create schemas and allows you to iterate faster. Although, it uses schemas for internal architecture. Pgvector extension is used to generate vectors from your proprietary data automatically, making it possible to do retrieval-augmented generation out of the box on top of your own data as knowledge base. You can choose which LLM (OpenAI or Anthropic) and which embedding models (OpenAI and Voyage AI) to use via environment variables. And last but not least, we leverage Bun.sh and Hono server to make it easy to use real-time subscriptions from CRUD operations using web sockets. This makes Nodb a nearly full fledged app development toolkit.
Don't worry, it's all dockerised so you can deploy easily. Our platform of choice was Fly.io, but we'll add more over time.
Let me know what you think! Also, we'd love to hear any additional feature requests you have in mind. Keep coding!