Skip to content

sidhyaashu/gen-lms

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

54 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

🌐 Comprehensive Modern Web Application Stack

Delivering a seamless development and user experience with cutting-edge technologies.


πŸ“Š Dashboard Overview

Dashboard

πŸ“ Create First Step

Create First Step

πŸ“ Create Second Step

Create Second Step

πŸ“š Study Materials

Study Materials

πŸ—’οΈ Notes View

Notes View

🎴 FlashCard View

FlashCard View

❓ Quiz View

Quiz View

🚫 Wrong Option Selection

Wrong Option Selection

βœ… Right Option Selection

Right Option Selection

πŸ’¬ Question and Answers

Question and Answers

πŸ”‘ Final Dashboard

Final Dashboard


πŸš€ Key Features

  • 🌟 Inngest: Simplified event-driven workflows for serverless functions.
  • 🐘 NeonDB: Efficient and scalable serverless PostgreSQL database.
  • πŸ’³ Stripe API: Integrated payment gateway for secure transactions.
  • βš›οΈ Next.js: React framework for building fast, scalable web applications.
  • 🎨 Tailwind CSS: Utility-first CSS framework for rapid UI development.
  • 🧩 Shadcn/UI: Prebuilt components to accelerate your design process.
  • πŸ” Clerk Auth: Authentication made simple with Clerk's user management solution.
  • πŸ€– Gemini AI: AI-powered features to enhance your application.
  • πŸ—ƒοΈ Drizzle ORM: Type-safe and intuitive ORM for database interactions.

πŸ› οΈ Getting Started

Prerequisites

Before you begin, ensure you have the following installed:

  • πŸ–₯️ Node.js (LTS version recommended)
  • πŸ“¦ npm or yarn
  • πŸ—„οΈ A PostgreSQL instance on NeonDB

Installation Steps

  1. Clone the Repository:

    git clone https://github.com/sidhyaashu/gen-lms.git
    cd gen-lms
  2. Install Dependencies:

    npm install
    # or
    yarn install
  3. Configure Environment Variables: Create a .env file in the root directory and add the following configuration:

    DATABASE_URL=your_database_url
    GEMINI_API_KEY=your_gemini_api_key
    
    NEXT_PUBLIC_CLERK_PUBLISHABLE_KEY=your_clerk_publishable_key
    CLERK_SECRET_KEY=your_clerk_secret_key
    
    NEXT_PUBLIC_CLERK_SIGN_IN_URL=/sign-in
    NEXT_PUBLIC_CLERK_SIGN_UP_URL=/sign-up
  4. Run the Application:

    npm run dev
    # or
    yarn dev

    Visit http://localhost:3000 in your browser to access the application.


πŸ”„ Database Management with Drizzle Kit

Efficiently manage your database with Drizzle Kit:

  • Push Migrations:

    npx drizzle-kit generate
    npx drizzle-kit push
  • Open Drizzle Studio:

    npx drizzle-kit studio
  • Run Inngest CLI:

    npx inngest-cli@latest dev
    npx inngest-cli@latest dev --no-discovery -u http://localhost:3000/api/inngest

πŸ“‚ Project Structure

Here’s an overview of the project structure:

β”œβ”€β”€ public
β”œβ”€β”€ src
β”‚   β”œβ”€β”€ components      # Reusable components
β”‚   β”œβ”€β”€ pages           # Application pages
β”‚   β”œβ”€β”€ styles          # Tailwind and custom styles
β”‚   β”œβ”€β”€ utils           # Utility functions
β”‚   └── hooks           # Custom React hooks
β”œβ”€β”€ .env                # Environment variables
β”œβ”€β”€ drizzle.config.ts   # Drizzle ORM configuration
β”œβ”€β”€ tailwind.config.js  # Tailwind CSS configuration
β”œβ”€β”€ next.config.js      # Next.js configuration
└── README.md           # Project documentation

🀝 Contributing

We welcome contributions! Follow these steps to get started:

  1. 🍴 Fork the repository.
  2. 🌿 Create a new branch:
    git checkout -b feature/your-feature-name
  3. πŸ’Ύ Commit your changes:
    git commit -m "Add some feature"
  4. πŸ”„ Push to the branch:
    git push origin feature/your-feature-name
  5. πŸ“ Open a Pull Request.

🌟 Acknowledgments

A special thanks to these awesome tools and platforms that helped bring this project to life:

  • 🌟 Inngest - Event-driven serverless functions
  • 🐘 NeonDB - Scalable serverless PostgreSQL
  • πŸ’³ Stripe - Secure payment gateway
  • βš›οΈ Next.js - React framework for modern web apps
  • 🎨 Tailwind CSS - Utility-first CSS framework
  • 🧩 Shadcn/UI - Prebuilt UI components
  • πŸ” Clerk Auth - Authentication and user management
  • πŸ€– Gemini AI - AI-powered features
  • πŸ—ƒοΈ Drizzle ORM - Type-safe ORM for database queries

πŸ’» Built with ❀️ by Asutosh Sidhya

This version should provide a clean and engaging user experience for readers and developers alike!

Releases

No releases published

Packages

 
 
 

Contributors