A comprehensive credit card rewards optimization platform powered by Perplexity's Sonar AI that helps users maximize the value of their credit card rewards through intelligent analysis and personalized recommendations.
- Credit card analysis and recommendations
- Partner programs tracking
- Card points tracking and optimization
- Credit Card Statement analysis
- Card details and rewards tracking
- Current Promotions & Offers Tracking
- Card Comparison and Recommendations
- AI: Sonar API by Perplexity
- Frontend: Next.js
- UI Framework: Shadcn UI
- Authentication: Clerk
- Database: Supabase
- Hosting: Vercel
- Node.js (v16 or higher)
- npm or yarn
- Perplexity API key
- Supabase account
-
Clone the repository
git clone https://github.com/mithileshchellappan/perkpal.git cd perkpal -
Install dependencies
npm install # or yarn install -
Set up environment variables
cp .env.example .env.local
Edit the
.env.localfile and add your own values for:PERPLEXITY_API_KEY: Your Perplexity API keyCLERK_SECRET_KEY: Your Clerk secret keyNEXT_PUBLIC_SUPABASE_URL: Your Supabase project URLSUPABASE_SERVICE_ROLE_KEY: Your Supabase service role key
- Create a new Supabase project at supabase.com
- Run the database migration script to create the required tables
- Go to your Supabase project dashboard
- Navigate to the SQL Editor
- Copy the contents of the
scripts/supabase-schema.sqlfile - Paste it into the SQL Editor and run the queries
To start the development server:
npm run dev
# or
yarn devOpen http://localhost:3000 with your browser to see the result.
The app uses Clerk for authentication. Set up your Clerk environment variables in .env.local if you want to enable authentication.
Visit the Devpost project page for more details: PerkPal