by vasanthk1125 · 1y ago · 0 comments
Backend: Elixir & Phoenix
Database: PostgreSQL with Supabase (originally CockroachDB, big mistake)
Auth: Supabase
Frontend: Next.js
UI Components: shadcn
GraphQL API: Absinthe
Hosting: Fly.io (Phoenix) + Vercel (Next.js)
Storage: Cloudflare R2 + CDNOxide and Friends did a great episode on it at the time [1].
[0] https://www.cockroachlabs.com/docs/stable/licensing-faqs
[1] https://oxide-and-friends.transistor.fm/episodes/whither-coc...
Little note: It seems the search is only by book title, not by author and not resilient to typos.
Yeah, search is currently by book title and series name. It should handle typos pretty well—Meilisearch allows for up to two—but I still need to tweak it further
Do you use supabase’s api interface to do the queries? Or do you use supabase for other features?
For queries, we don’t use Supabase’s API interface—we interact with Postgres directly through our backend