I thought it would be fun to see if I can make a password protected todo list app by using a vector database as my only storage solution.
To be clear, I don't think this is a good idea and it's definitely not the purpose of vector databases. But, it was fun!
- Vector DB: Upstash Vector with the TS SDK
- Embedding model: OpenAI text-embedding-3-small
- Next.js 14
- Shadcn
If you want to run this locally, this is my .env
setup:
UPSTASH_VECTOR_REST_URL="<FROM_UPSTASH_CONSOLE>"
UPSTASH_VECTOR_REST_TOKEN="<FROM_UPSTASH_CONSOLE>
OPENAI_API_KEY="<FROM_OPENAI>"