A Nuxt 3, TailwindCSS, Supabase Auth, EdgeDB Twitter Clone.
- Authentication (Password, GitHub)
- User Profiles
- Post Lists
- Creating Posts
- Post Comments
- Post Likes
- Profile Settings
- Bookmark Folders
- See Notion Roadmap for all features.
- Install EdgeDB CLI locally
- after that, run
edgedb project init - then
npm run generate-types:edgedb
- See https://www.edgedb.com/docs/guides/deployment/digitalocean
- Create
digitaloceanLink in CLI (<dsn>is theedgedb://...connection string)edgedb instance link \ --dsn <dsn> \ --trust-tls-cert \ --non-interactive \ digitalocean
- Run migrations
edgedb migrate --dsn <dsn> --tls-security insecure
This is not required, but to test the connection, you can run
edgedb -I digitalocean# Supabase
SUPABASE_URL="https://example.supabase.com"
SUPABASE_KEY="<your_key>"
# EdgeDB
EDGEDB_DSN="<your_dsn>"
EDGEDB_CLIENT_TLS_SECURITY=insecurenpm installnpm startnpm run edgedb-migrate
node-fetch@2 in devDependencies is required due to a bug where it would otherwise use node-fetch@3 and because this is esm, it doesn't work with the edgedb package. See: https://discord.com/channels/841451783728529451/1046195371933696069/1046206050266787911