Skip to content

REVANTSINGH01/Code-Alert

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

81 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

πŸš€ CodeAlert

Competitive Programming Tracker & Contest Reminder

CodeAlert is a full-stack mobile application built to centralize competitive programming activities across multiple coding platforms.

Track ratings, solved questions, upcoming contests, and reminders β€” all from one dashboard.


πŸ“Œ Features

βœ… User Authentication (Signup/Login)

βœ… JWT Session Management

βœ… Platform Handle Integration

βœ… Contest Tracking

βœ… Contest Countdown Timer

βœ… Coding Profile Monitoring

βœ… Theme Support (Dark / Light)


πŸ—οΈ High Level Design (HLD)

System Overview

image

βš™οΈ Low Level Design (LLD)

Frontend Structure

image

Backend Structure

backend/
β”‚
β”œβ”€β”€ app/
β”‚
β”œβ”€β”€ routers/
β”‚   β”œβ”€β”€ users.py
β”‚   β”œβ”€β”€ dashboard.py
β”‚   β”œβ”€β”€ contests.py
β”‚   β”œβ”€β”€ leetcode.py
β”‚   β”œβ”€β”€ codeforces.py
β”‚   β”œβ”€β”€ reminders.py
β”‚
β”œβ”€β”€ auth/
β”‚   └── auth_handler.py
β”‚
β”œβ”€β”€ database/
β”‚   └── database.py
β”‚
└── main.py

🧩 System Architecture

image

πŸ—„οΈ Database Schemas

users

{
 "_id":"ObjectId",
 "name":"Revant",
 "email":"user@gmail.com",
 "password":"****",
 "handles":{
   "cf_handle":"abc",
   "lc_handle":"xyz"
 }
}

lc_profile

{
"user_id":"123",
"rating":1824,
"global_ranking":40000,
"problems_solved":745
}

cf_profile

{
"user_id":"123",
"rating":1487
}

contests

{
"name":"Weekly Contest",
"platform":"LeetCode",
"start_time":"timestamp"
}

reminders

{
"user_id":"123",
"contest_name":"Codeforces Round",
"time":"timestamp"
}

πŸ”Œ API Endpoints

Auth

POST /signup
POST /login

User

PUT /users/handles
POST /dashboard/sync

Contest

GET /contests

Reminder

POST /reminder
GET /reminders/{id}

πŸ› οΈ Tech Stack

Frontend

Flutter Dart Provider SharedPreferences

Backend

FastAPI JWT Async REST_API

Database

MongoDB


External APIs

  • LeetCode GraphQL
  • Codeforces API
  • CodeChef Data Source

πŸ“ˆ Current Progress

Completed

  • Authentication
  • JWT Login
  • Contest Fetch
  • Contest Countdown
  • Profile Page
  • Platform Handle Setup
  • Dashboard Sync
  • Rating Tracking
  • Questions Solved Tracking
  • Theme Support
  • Auto Refresh

In Progress

  • Notification Integration
  • Profile Analytics
  • Contest Filtering
  • Better Error Handling
  • Background Sync

Planned

  • Push Notifications
  • Leaderboards
  • AI Contest Recommendation
  • Statistics Dashboard
  • Activity Graph
  • Multi-device Sync

πŸš€ Installation

git clone <repo>

cd codealert

flutter pub get

flutter run

Backend:

cd backend

uvicorn app.main:app --host 0.0.0.0 --reload

πŸ‘¨β€πŸ’» Contributors

Built with ❀️ using Flutter + FastAPI + MongoDB

About

A Flutter-based mobile application that provides real-time coding problem alerts from platforms like LeetCode and Codeforces, with personalized filtering options.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors