Skip to content

pranika-m/dsa_visual

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

DSA Visualizer

Interactive web app to learn data structures and algorithms with:

  • concept editorials
  • step-by-step visualizations
  • code execution sandbox

Stack

  • Backend: Django + Django REST Framework + SQLite
  • Frontend: React + Vite + D3.js + Monaco Editor

Project Structure

dsavisual/   # Django backend
frontend/    # React frontend

Run Locally

1. Backend

cd dsavisual
python -m venv .venv
.venv\Scripts\activate
pip install -r requirements.txt
python manage.py migrate
python manage.py shell < seed_concepts.py
python manage.py runserver

Backend runs at http://127.0.0.1:8000.

2. Frontend

cd frontend
npm install
npm run dev

Frontend runs at http://localhost:5173.

API Base

The frontend client is configured to call:

  • http://127.0.0.1:8000/api

Main endpoints:

  • GET /api/categories/
  • GET /api/categories/<slug>/
  • GET /api/topics/<slug>/
  • GET /api/concepts/<slug>/
  • GET /api/concepts/<slug>/visualization/
  • POST /api/execute/

Notes

  • If category cards do not load, ensure Django server is running.
  • Seed data again with:
cd dsavisual
python manage.py shell < seed_concepts.py

About

An interactive DSA visualization tool enabling step-wise algorithm execution, real-time state transitions, and hands-on code experimentation.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors