Skip to content

destined07/AC-Rush

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

AC-Rush - Competitive Programming Platform

A web-based platform for solving algorithmic coding problems with real-time code execution, AI-powered hints, and code explanations.

Features

  • Browse and filter coding problems by difficulty, category, and tags
  • Code editor supporting Python, C++, and Java
  • Real-time code execution via OneCompiler
  • AI-powered hints and code explanations via OpenRouter
  • User authentication with profile and progress tracking
  • Admin panel for managing problems and viewing submissions
  • Dark theme UI

Tech Stack

  • Backend: Node.js + Express.js
  • Database: MongoDB
  • Views: EJS
  • Code Execution: OneCompiler API
  • AI: OpenRouter API
  • Styling: CSS3

Setup

  1. Install dependencies:

    npm install
  2. Create .env file:

    MONGODB_URI=mongodb://localhost:27017/algoforge
    ONECOMPILER_KEY=your_onecompiler_api_key
    OPENROUTER_KEY=your_openrouter_api_key
    OPENROUTER_MODEL=openai/gpt-4o-mini
    SESSION_SECRET=your_session_secret
    PORT=3000
    
  3. Start the server:

    npm run dev
  4. Seed problems (optional):

    node scripts/seedProblems.js

Admin Access

Default admin credentials: admin / admin

Admin panel: http://localhost:3000/admin/login

About

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors