Go back
Day 2: Backend logic and data structure
In this session, Melody Daniel took the lead on backend development of Dine Swipe a voting app for that let's people choose the best restaurant they want to go to. Using FastAPI and a SQL database, he walked us through setting up the core logic for the voting app. We implemented key endpoints for: Creating a voting room, Joining an existing room, Casting votes, Viewing results in real-time. Melody also added validation and smart checks to make sure each participant could only vote once—ensuring fairness and reliability in the voting process. This session is a solid introduction to building clean and secure backend APIs for collaborative apps.