Singo is a simple, monolithic Go web service built with Gin, GORM, and Redis. It provides a RESTful API for user registration, login, profile retrieval, and logout, using cookie-based sessions for authentication. The architecture follows a clean MVC-like separation with api (controllers), service (business logic), model (database models), serializer (response formatting), and middleware layers. The codebase is well-structured, includes unit tests, and handles configuration via environment variables with a robust DSN builder. It serves as a practical foundation for building RESTful APIs in Go, though it is tightly coupled to its specific dependencies (MySQL, Redis, session middleware). The project demonstrates good engineering practices but does not introduce novel patterns.
The Hostel Management system is a MERN stack application designed for managing student hostels. It features user authentication (login, registration, profile management), student CRUD operations, attendance tracking by room, and analysis views with CSV export capabilities. The frontend is built with React and Redux, utilizing React-Bootstrap for UI components, while the backend uses Node.js with Express and MongoDB for data storage, secured with JWT-based authentication. The architecture follows a traditional client-server model. The frontend communicates with the backend via RESTful API endpoints. Key modules include authentication middleware, token generation utilities, and reusable UI components such as a search box and form container. The system allows administrators to manage users and students, while regular users can view and update their profiles and attendance. Despite functional implementation, the codebase exhibits some areas for improvement, including missing dependency declarations in React hooks (leading to potential stale closures) and tight coupling in certain components. However, the core functionality is sound, and the system demonstrates competent full-stack development practices suitable for a small to medium-sized application.