A course listing website,here user can sign-in and create courses of their own and sell them.
Untitled.video.-.Made.with.Clipchamp.1.mp4
- Authentication using clerk
- User can list their own courses.
- Postgres Database used
- Prisma ORM used
- Zod Validation used
Clone the project on your machine
git clone https://github.com/faisal004/learning-management-system.git
Open Project
cd learning-management-system
Install dependencies
yarn install
Set up .env file Also you have to make account on mux.com to get mux tokeniD and Secret
NEXT_PUBLIC_CLERK_PUBLISHABLE_KEY=
CLERK_SECRET_KEY=
NEXT_PUBLIC_CLERK_SIGN_IN_URL=/sign-in
NEXT_PUBLIC_CLERK_SIGN_UP_URL=/sign-up
NEXT_PUBLIC_CLERK_AFTER_SIGN_IN_URL=/
NEXT_PUBLIC_CLERK_AFTER_SIGN_UP_URL=/
DATABASE_URL="Your db url"
UPLOADTHING_SECRET=
UPLOADTHING_APP_ID=
MUX_TOKEN_ID=
MUX_TOKEN_SECRET=
NEXT_PUBLIC_APP_URL=http://localhost:3000
You can go to neon.tech to get a free postgres instance.Now run
npx prisma generate
npx prisma db push
Start app
yarn dev