A media tracking web application for tracking your anime, manga, manhwa, and donghua progress. Never lose track of where you left off.
- Track Progress - Keep track of episodes and chapters with a simple +1 button
- Watch & Read - Support for anime, donghua, manga, manhwa, and more
- Rate & Review - Rate your favorites (1-10) and add personal notes
- Mobile Ready - PWA support, installable on your phone
- Dark/Light Mode - Theme toggle with system preference support
- User Authentication - Email/password and Google OAuth
- Admin Dashboard - View all users and stats (admin only)
- Framework: Next.js 16 (App Router)
- Styling: Tailwind CSS + shadcn/ui
- Database: PostgreSQL (Supabase)
- ORM: Prisma
- Authentication: Supabase Auth
- State Management: TanStack Query
- PWA: @ducanh2912/next-pwa
- Node.js 18+
- npm or yarn
- Supabase account
-
Clone the repository:
git clone https://github.com/yourusername/viewdex.git cd viewdex -
Install dependencies:
npm install
-
Set up environment variables:
cp .env.example .env
Fill in your Supabase credentials.
-
Push database schema:
npx prisma db push
-
Run the development server:
npm run dev
DATABASE_URL="postgresql://..."
DIRECT_URL="postgresql://..."
NEXT_PUBLIC_SUPABASE_URL="https://xxx.supabase.co"
NEXT_PUBLIC_SUPABASE_ANON_KEY="eyJ..."- Push your code to GitHub
- Import your repository in Vercel
- Add environment variables
- Deploy
- Create a new Supabase project
- Go to Authentication → Providers → Email to configure email settings
- Copy connection strings and API keys to environment variables
- Add your production URL to Authentication → URL Configuration
MIT