https://salsabil-foundation.vercel.app
Single-tenant donation/expense tracker for As-Salsabil Foundation, built as one Next.js (App Router) + TypeScript app with two halves:
- Public marketing site — Home, About Us, Our Projects (with Gallery), Our Activities (Blogger feed), Contact Us — bilingual (Bengali/English).
- Private admin dashboard — donation/expense tracker + Gallery manager, reachable via
/salsabilownerlogin→/dashboard.
Backend: Firebase (Auth + Firestore), Cloudinary (Gallery media), Blogger public feed (Activities), YouTube Data API (Gallery playlists), Gmail via nodemailer (Contact form).
npm install
cp .env.example .env.local # then fill in the real values
npm run dev # http://localhost:3000npm run dev— dev server (Next.js)npm run build— production build (type-checks + builds all routes)npm start— serve the production build (runnpm run buildfirst)npm run lint—next lint(no ESLint config file is committed, so prefernpx tsc --noEmitfor a quick type-check)
All required variables are listed in .env.example:
NEXT_PUBLIC_FIREBASE_*— Firebase client configCONTACT_EMAIL_USER,CONTACT_EMAIL_APP_PASSWORD,CONTACT_TO_EMAIL— Contact form email (Gmail App Password)CLOUDINARY_URL— Cloudinary (combinedcloudinary://key:secret@cloud_nameform)YOUTUBE_API_KEY— YouTube Data API v3 (Gallery playlists tab)FIREBASE_SERVICE_ACCOUNT_KEY— Firebase Admin service account JSON (single-line string, Gallery API auth)
Add the same variables to Vercel when deploying (.env.local is not committed).
https://vercel.com/sadekurs-projects/salsabil-foundation/settings/git