Skip to content

BilalShah3/online-course-platform

Repository files navigation

Online Course Platform Nuxt3

Demo

https://onlinecourseplatform.netlify.app/

App Setup (localhost)

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

Nuxt 3 Minimal Starter

Look at the Nuxt 3 documentation to learn more.

Setup

Make sure to install the dependencies:

# npm
npm install

# pnpm
pnpm install

# yarn
yarn install

Development Server

Start the development server on http://localhost:3000:

# npm
npm run dev

# pnpm
pnpm run dev

# yarn
yarn dev

Production

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.

About

online-course-platform nuxt-3

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published