- Next
- Prisma
- tRPC
- TypeScript
- Firebase
- Tailwind CSS / SASS
- shadcn/ui
Install dependencies
npm install
Run dev server
npm run dev
Preview production build
npm run build && npm run start
cp .env.example .env
Replace variables with firebase console app configuration values
NEXT_PUBLIC_FB_API_KEY=''
NEXT_PUBLIC_FB_AUTH_DOMAIN=''
NEXT_PUBLIC_FB_PROJECT_ID=''
NEXT_PUBLIC_FB_STORAGE_BUCKET=''
NEXT_PUBLIC_FB_MESSAGING_SENDER_ID=''
NEXT_PUBLIC_FB_APP_ID=''
FIREBASE_SERVICE_ACCOUNT_KEY={}
Remove line breaks from service account json
Add database url to .env.local
DATABASE_URL=''
npx prisma db push
- Sign Up -
synced with prisma UserAccount model
- Login
- Sign Out
- Password Reset
- Verify Email
- Update Email + Profile -
synced with prisma UserAccount model
- Public Profile w/ Posts Count
- Create Post
- All Posts
- Infinite Scroll w/ Cursor Based Pagination