How navikareddy/gamifiedlearninglabs works
Project type and purpose
• This is a full-stack web application bootstrapped with Create React App on the front end and an Express/Node.js server on the back end.
• It hosts multiple Unity WebGL games, a React-based algorithm/DSA learning environment, and a code-compiler feature, plus user authentication and leaderboard functionality.
File structure
• Top-level directories/files:
• public/ – static assets including three Unity WebGL game builds (BSWebBuild, Game_WebGL, basketGame) and the main index.html
• src/ – React application source code, organized by feature components (CodeCompiler, DSA, games, SignIn/SignUp, LeaderBoard, etc.)
• APIs/ – Express route handlers for compileApi.js (code compilation) and usersApi.js (user auth & profiles)
• server.js – Express server entry point that serves the React app, static files, and mounts the APIs
• tailwind.config.js – Tailwind CSS configuration
• Patterns:
• Client-server separation (SPA + REST APIs)
• Feature-based component structure in React (each game/algorithm is its own module)
• Static file hosting for Unity WebGL builds
README for additional insights
• Standard Create React App scripts (start, build, test, eject)
• No built-in DB mentioned—assume usersApi may rely on an external database or in-memory store
Detail
• Separate Unity WebGL builds into distinct static asset nodes
• How tailwind.config feeds into the build process (optional annotation)