Skip to content

nsiyu/Hacklohoma

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

35 Commits
 
 
 
 
 
 

Repository files navigation

Codem - Technical Interview Practice Platform

A modern web application for practicing technical interviews with AI assistance, featuring real-time code execution and AI-powered question generation.

Project Structure

codem/
├── frontend/          # Next.js App
└── backend/          # Agents
    └── agents/
        └── question_creator/  # AI question generation service

Frontend Setup

  1. Clone the repository and navigate to the project directory:
git clone https://github.com/nsiyu/temp.git
cd temp
  1. Install frontend dependencies:
npm install
  1. Start the development server:
npm run dev

The frontend will be available at http://localhost:3000

Backend Setup

  1. Navigate to the backend directory:
cd backend
  1. Create and activate a Python virtual environment:

For macOS/Linux:

python3 -m venv .venv
source .venv/bin/activate
  1. Install the poetry and all dependencies from pyproject.toml

  2. Create a .env file in the backend/agents/question_creator directory:

OPENAI_API_KEY=your_api_key_here
  1. Start the backend server:
uvicorn question_creator.api:app --reload

The backend API will be available at http://localhost:8000

API Endpoints

The backend provides the following endpoints:

  • POST /create-question
    • Creates a new coding question
    • Request body:
      {
        "topic": "string",
        "difficulty": "string",
        "custom_requirements": "string"
      }

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors