Skip to content

iseT1enLoc/roomXpenditure

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

40 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🏠 RoomXpenditure - Student Dormitory Management Backend

RoomXpenditure is a backend system built with Go and the Gin web framework, designed to efficiently manage student dormitory rooms and their expenditures. It supports core features like room allocation, student profiles, expenditure tracking, and role-based access.


📌 Features

  • 🧑‍🎓 Student registration & management
  • 🏡 Room listing, assignment, and availability tracking
  • 💰 Monthly expenditure recording
  • 🔐 Role-based access control (Admin, Staff, Student)
  • 📦 Clean, modular architecture
  • 🐳 Docker support for easy deployment

🧱 Tech Stack

Component Technology
Language Go (Golang)
Web Framework Gin
ORM GORM
Database PostgreSQL
Containerization Docker
Config Format YAML

📁 Project Structure

roomXpenditure/
│
├── api/               # Gin route handlers
├── appcontext/        # App-wide shared context (e.g., DB connection, logger)
├── config/            # Configuration management (YAML/env parsing)
├── models/            # GORM-based data models
├── repository/        # Database access layer (CRUD interfaces)
├── services/          # Business logic layer
├── utils/             # Utility/helper functions
│
├── tables.sql         # SQL setup script for PostgreSQL database schema
├── docker-compose.yml # Docker Compose configuration
├── command.txt        # Command list for quick reference
├── go.mod / go.sum    # Go module files (dependencies and versioning)
└── main.go            # Application entry point

🛠️ Setup & Installation

1. Clone the repository

git clone https://github.com/iseT1enLoc/roomXpenditure.git
cd roomXpenditure
### 2. Docker setup
```bash
sudo docker-compose up

### 3. Run application
go run main.go

🔗 FrontEnd Repository

👉 RoomXpenseUI Frontend: https://github.com/iseT1enLoc/roomXpenseUI

🙏 Acknowledgments

This project was developed as part of a backend development initiative for student room and expenditure management. Special thanks to:

  • My mentors and instructors for their guidance and support.
  • Open-source Go and Gin communities for excellent libraries and documentation.
  • All contributors who helped test, debug, and improve the system.

🙏 Authors

iseT1enLoc
📧 Email me
🔗 GitHub Profile
🎓 Student | Backend Developer | Tech Enthusiast


About

This repo for dormitary room management

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages