A modern admin panel for managing credit card data, built with Next.js, Supabase, and shadcn/ui.
- Modern UI with shadcn/ui components
- Type-safe database operations with Supabase
- Form validation with Zod
- Toast notifications
- Responsive design
- Node.js 18+ and npm
- Supabase account and project
Create a .env.local file in the root directory with the following variables:
NEXT_PUBLIC_SUPABASE_URL=your_supabase_url
NEXT_PUBLIC_SUPABASE_ANON_KEY=your_supabase_anon_key- Install dependencies:
npm install- Run the development server:
npm run dev- Open http://localhost:3000 in your browser.
/app- Next.js app router pages/components- Reusable React components/lib- Utility functions and configurations/types- TypeScript type definitions
The project uses the following Supabase tables:
id(int, primary key)bank_name(text, required)logo_url(text, nullable)created_at(timestamp with time zone)
- Use
npm run devfor development - Use
npm run buildfor production build - Use
npm run startto start the production server - Use
npm run lintto run ESLint