https://onlinecourseplatform.netlify.app/
https://github.com/BilalShah3/online-course-platform.git
```create .env file
SUPABASE_URL=""
SUPABASE_KEY=""
DATABASE_URL=""
NUXT_PUBLIC_STRIPE_KEY=""
NUXT_STRIPE_SECRET=""
NUXT_STRIPE_WEBHOOK_SECRET=""
npm i
npx prisma generate
npm run dev
You'll have to setup a Supabase account & Stripe account, then add all of the details in to your .env file.
Once you've connected your application to Supabase. You'll also need to setup the Auth Providers: Github Github
https://supabase.com/docs/guides/auth/social-login/auth-github
Now run the command to migrate your database tables and run your seed file.
npx prisma migrate dev --name init
Look at the Nuxt 3 documentation to learn more.
Make sure to install the dependencies:
# npm
npm install
# pnpm
pnpm install
# yarn
yarn install
Start the development server on http://localhost:3000
:
# npm
npm run dev
# pnpm
pnpm run dev
# yarn
yarn dev
Build the application for production:
# npm
npm run build
# pnpm
pnpm run build
# yarn
yarn build
Locally preview production build:
# npm
npm run preview
# pnpm
pnpm run preview
# yarn
yarn preview
Check out the deployment documentation for more information.