logo

Installation Guide

Follow these steps to clone the repository and set up your project:

1. Clone and start the application

git clone https://github.com/projectsojess/codefast-basic <YOUR_APP_NAME>
cd <YOUR_APP_NAME>
npm install
git remote remove origin
npm run dev

2.Edit your environment files

Go to your src folder and find the .env.local file. If you're unable to find one, create one. And paste the below given configuration. Please note that the SUPABASE_ADMIN key mentioned in the code below is the service_role key provided by supabase.

.env.local
RAZORPAY_KEY_ID=
RAZORPAY_KEY_SECRET=
NEXT_PUBLIC_SUPABASE_URL=
NEXT_PUBLIC_SUPABASE_ANON_KEY=
SUPABASE_ADMIN=
RESEND_API_KEY=

You can obtain all the necessary keys by creating accounts on Supabase, Razorpay, and Resend. If you're unable to find the keys, please refer to their respective documentations provided below.