Visit Structs.sh | Structs.sh Confluence
See the Structs.sh Confluence workspace for documentation, setup instructions, deployment instructions, milestones and project management!
Structs.sh is an interactive data structure and algorithm visualiser and educational platform for computer science students.
- Algorithm Visualiser
- Interactive animated visualisations of classic data structures and algorithms - including but not limited to linked lists, binary search trees, AVL trees and more!
- Visual Debugger
- Interactive debugger that allows users to debug and visualise data structures in their own C code.
- Currently supports linked lists.
Structs.sh is a project that aims to be a comprehensive educational resource for data structures and algorithms, developed by passionate computer science and engineering students at UNSW. Structs.sh was inspired by a previous project, Tactile-DS, an earlier project developed in 2020 as a tutoring tool and reference implementation for students to use in COMP2521.
Structs.sh exists to help bridge the gap between a student's high-level understanding of computer science concepts and how real code would accomplish a certain task. The project was started by students who felt there was a lack in tools/resources that focus on helping people develop a proper visual intuition for algorithmic thinking.
Ensure you have the following software:
- git
- Node.js (v18 or later)
- nvm is recommended to easily manage and install versions of node
- (Optional) Docker and Docker-compose
Clone the repository using the commmand: git clone git@github.com:devsoc-unsw/structs.sh.git
To configure the application, create a .env
file in the client/
directory and add the following line:
VITE_DEBUGGER_URL=http://localhost:8000
If deploying, replace localhost:8000 with the address of the server
cd
into the project root directory- Run
docker-compose up --build
. The frontend should be accesible atlocalhost:3000
. The debugger server should be accessible atlocalhost:8000
.
For everything architecture, endpoints documentation, style guide, etc. see our Confluence workspace!