A document archive organized by year (2022-2026) with admin panel for file management.
- Browse files organized by year folders
- Admin panel for uploading files
- Copy image URLs for reference
- Dark theme interface
-
Create a Supabase project at https://supabase.com
-
Create a storage bucket:
- Go to Storage in Supabase dashboard
- Create a new bucket called
archive-files - Make it public
-
Copy
.env.local.exampleto.env.localand add your Supabase credentials:
NEXT_PUBLIC_SUPABASE_URL=your_supabase_project_url
NEXT_PUBLIC_SUPABASE_ANON_KEY=your_supabase_anon_key- Install dependencies:
npm install- Run development server:
npm run dev- Navigate to
/admin - Default password:
admin123 - Upload files to specific years
- Supports images, PDFs, and documents
- Push code to GitHub
- Import project in Vercel
- Add environment variables in Vercel dashboard:
NEXT_PUBLIC_SUPABASE_URLNEXT_PUBLIC_SUPABASE_ANON_KEY
- Deploy
Note: Change the admin password in app/admin/page.tsx before deploying to production.