Skip to content

Milestones

List view

  • Milestone 4: Docs + Deployment

    No due date
  • Milestone 3: Video Management

    No due date
  • Milestone 2: Stripe Integration & Subscription Logic

    No due date
  • This is the perfect next step. We will now structure the project by defining the first set of actionable Tasks and organizing them under your first Milestone. This process involves: Defining the Milestone: (We already have this). Creating the Tasks: Breaking down the Milestone into specific Issues on GitHub. Here is the detailed breakdown for your first and most critical milestone. 🎯 Milestone 1: Authentication & User Management Goal: Establish the core API, database connection, and all endpoints required for user registration, login, and JWT-based session management. ✅ Tasks for Milestone 1 (To Create as Issues) Here are the specific tasks you should create as GitHub Issues. You can use the "Feature Request" template for these. Issue #1: Project Structure & Core Dependencies Title: [TASK] Initial project scaffolding and dependency setup Description: Create the main /app, /api, /database directories. Initialize main.py for FastAPI. Add core libraries (FastAPI, Uvicorn, Pydantic, Passlib) to requirements.txt. Labels: chore, setup Issue #2: Database Module & Initial Models Title: [TASK] Implement database connection and User model Description: Create the database connection logic (e.g., database.py). Implement the User model in database/models.py based on the DDL schema. Labels: enhancement, database Issue #3: User Registration Endpoint Title: [FEATURE] Create POST /auth/register endpoint Description: Implement the registration logic. This must include: Validating input data (Pydantic schema). Checking if the email already exists. Hashing the password (using Passlib/bcrypt). Saving the new user to the database. Labels: feature, auth Issue #4: User Login Endpoint Title: [FEATURE] Create POST /auth/login endpoint Description: Implement the login logic. This must include: Verifying the user's email. Comparing the provided password with the stored hash. Generating and returning a JWT access token if successful. Labels: feature, auth Issue #5: JWT Utilities & Security Title: [TASK] Implement JWT creation and dependency injection Description: Create a security utility file (security.py) to handle JWT token creation, signing, and decoding. Implement a FastAPI dependency (get_current_user) to protect future endpoints. Labels: enhancement, auth, security Issue #6: Protected Endpoint Example Title: [FEATURE] Create GET /users/me test endpoint Description: Create a simple endpoint that requires a valid JWT (using the get_current_user dependency) and returns the current user's details. This confirms the entire auth flow works. Labels: feature, auth

    No due date
    0/1 issues closed