How tychoqs/safaridojo works
Project type and purpose
• This is a full-stack educational gaming platform (“Safari Dojo”) composed of:
• A Next.js/React client (in client/) that renders a library of mini-games, user account pages, profile and progress tracking
• A Node/Express back-end API (in server/) that exposes REST endpoints for user auth, game metadata and progress
• A MySQL database (in database/) managed via Docker, seeded from JSON files
• The README indicates the team’s TODOs: connect React/Next front-end to MySQL through the server, write queries, and persist data.
File structure
• Top level:
• client/ – Next.js app with pages, components, public assets
• server/ – Node/Express API, database.js for connection, static assets under server/public
• database/ – Dockerfiles, Docker Compose, MySQL init scripts, JSON seed data
• Patterns:
• 3-tier architecture (UI / API / DB)
• Next.js → pages & API calls
• Context Providers for Auth, Profile and Goals in the client
• Static hosting of game assets (images and sounds) in both client and server
README for additional insights
• The tasks confirm a classic RESTful flow: React → API → MySQL