newDemy is a comprehensive Learning Management System (LMS) designed to facilitate online education. Teachers can create, publish, and sell courses, while students can purchase and learn from these courses. The platform is built using modern technologies to ensure a smooth and efficient user experience.
- Teacher functionalities: Create, publish, and manage courses.
- Student functionalities: Browse, purchase, and learn from courses.
- Video Streaming: High-quality video streaming and playback.
- Analytics: Track course performance and user engagement.
- Secure Payments: Integration with Stripe for secure transactions.
- User Authentication: Secure user authentication and management.
- Frontend & Backend: Next.js
- Styling: Shadcn UI and Tailwind CSS
- Video Streaming: Mux
- Database: PostgreSQL
- ORM: Prisma
- Authentication: Clerk
- Payments: Stripe
- Analytics: Recharts
- Media Uploads: Uploadthing
These instructions will help you set up and run the project on your local machine for development and testing purposes.
- Node.js (>= 14.x)
- npm or yarn
- PostgreSQL
- Clone the repository:
git clone https://github.com/BeNikk/newDemy.git cd newDemy
- npm install
yarn install
- Set up the environment variables:
DATABASE_URL=postgresql://user:password@localhost:5432/newdemy NEXT_PUBLIC_CLERK_FRONTEND_API= CLERK_API_KEY= STRIPE_SECRET_KEY= MUX_TOKEN_ID= MUX_TOKEN_SECRET= UPLOADTHING_API_KEY=
-
Run database migrations: npx prisma migrate dev
-
Start the development server npm run dev
yarn dev