A modern, full-stack research paper repository built with Next.js and Supabase. The platform allows administrators to upload, organize, and publish research papers while providing a clean, searchable interface for students, faculty, and the public.
- Browse published research papers
- Full-text search
- Advanced filtering
- Individual paper pages
- Embedded PDF viewer
- PDF downloads
- Responsive design
- SEO-friendly paper URLs
- Secure administrator authentication
- Upload PDFs to Supabase Storage
- Upload cover images
- Create and edit papers
- Delete papers
- Automatic slug generation
- Paper publishing workflow
Each paper supports:
- Title
- Abstract
- Authors
- Publisher
- Publication Type
- Publication Year
- Category
- Language
- DOI
- Keywords
- Citation Count
- View Count
- Open Access
- Peer Reviewed
- Cover Image
- PDF File
| Technology | Purpose |
|---|---|
| Next.js 15 | Full-stack framework |
| React | UI |
| TypeScript | Type safety |
| Tailwind CSS | Styling |
| Supabase | Database, Authentication & Storage |
| PostgreSQL | Relational database |
| Server Actions | Form handling |
Browse and search published papers.
Add screenshot here
Displays metadata alongside an embedded PDF viewer.
Add screenshot here
Manage and publish papers.
Add screenshot here
src/
│
├── app/
│ ├── admin/
│ ├── papers/
│ └── layout.tsx
│
├── components/
│ ├── Header.tsx
│ ├── Footer.tsx
│ ├── PaperCard.tsx
│ └── ...
│
├── actions/
│ ├── uploadPaper.ts
│ ├── editPaper.ts
│ └── deletePaper.ts
│
├── lib/
│ ├── supabase/
│ ├── getPapers.ts
│ ├── slugGenerator.ts
│ └── ...
│
└── styles/
The platform stores metadata in PostgreSQL while storing uploaded files in Supabase Storage.
papers/
covers/
- papers
- admins
git clone https://github.com/yourusername/repository.git
cd repositorynpm installCreate a .env.local
NEXT_PUBLIC_SUPABASE_URL=YOUR_URL
NEXT_PUBLIC_SUPABASE_PUBLISHABLE_KEY=YOUR_ANON_KEY
SUPABASE_SERVICE_ROLE_KEY=YOUR_SERVICE_ROLE_KEYnpm run devOpen
http://localhost:3000
- Row Level Security (RLS) enabled
- Public users have read-only access
- Uploads restricted to administrators
- Database modifications performed through secure Server Actions
- Service Role Key never exposed to the client
- Public paper library
- Admin dashboard
- PDF uploads
- Cover image uploads
- Embedded PDF viewer
- Advanced search
- Filtering & sorting
- Citation export (APA / MLA / BibTeX)
- Author profile pages
- Department pages
- Related papers
- Reading history
- Analytics dashboard
- PDF.js viewer
- Dark mode
The platform is designed to be:
- Fast
- Responsive
- SEO-friendly
- Easy to maintain
- Scalable
- Accessible
- Optimized for academic content
This project is licensed under the MIT License.
Developed using Next.js, Supabase, and TypeScript.