How andresbiso/2025_1c_tfg works
Project type and purpose
• This is a multi-tier full-stack application that combines:
• A React (Vite) frontend (“client”)
• A Node.js + Express backend API (“server”)
• A Python + Flask microservice for chatbot logic (“bot-server”)
• A Python “bot” component that integrates with Telegram
• Several supporting services (MongoDB, MinIO, Mailpit, DiceBear avatars, Mongo-Express UI)
• Purpose: deliver an e-learning platform with course management, user profiles, payments, notifications (email + Telegram), file storage, rating/reviews, and a CLI/Telegram bot.
File structure
• Top-level directories:
• client/ — React single-page frontend
• server/ — Express REST API, controllers, routes, models, integrations, mail, middleware
• bot-server/ — Flask app exposing endpoints the bot uses (e.g., scheduling jobs)
• bot/ — Python Telegram Bot logic (commands, message handling, QR, database handler, jobs)
• docker-compose.yaml — orchestrates all containers
• Key patterns:
• Microservices (bot, bot-server, server)
• MVC‐like layering in Node.js (controllers/models/routes)
• Service modules for integrations (Telegram, email, file uploads)
• Docker container per component
Extract additional insights from README
• Technologies: Node.js, Python, React
• Services spun up via Docker: MongoDB, Mongo-Express, MinIO (API & WebUI), Mailpit (SMTP & WebUI), DiceBear