codecraft.io

August 18, 2024
C HTML/CSS JavaScript Python
codecraft.io

codecraft.io

Description

codecraft.io was our submission to Ignition Hacks 2024. codecraft.io was our attempt at implementing a coding platform with an AI assistant tutor. We used Wolfram’s Full Results API to act as the AI assistant tutor.

We used React, Vite, and Tailwind for the frontend and Nginx, Docker, a Raspberry Pi 4, and a Linux VPS for the backend and deployment.

We used a number of production deployment techniques such as having a fallback server. We also used NoPorts to act as a TCP tunnel to our Raspberry Pi 4.

Code Builder Server

Our code builder worked by exposing an API then writing code to a file, compiling it, then executing it. We also had a fall back code builder server in case the main server was down.

server architecture