Skip to content
项目

shashiben/Hostel-Management

在 GitHub 查看

关于

Created a hostel application management web app to track students where they are,and note the attendance of students according to room No and download data of attendance for each day

网站与应用开发

这些数字如何统计

实测星标增长

24小时
0
7天
0
15天
0
1个月
正在收集历史

各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。

README.md

原文

🏠 Hostel Management

MERN-ish chaos, now with Vite — Express + MongoDB in the back, React + Redux up front. No Next.js; we’re not that fancy. Yet.


🚀 Run this thing (3 steps, you’ve got this)

  1. Feed the machine

    npm install && npm install --prefix frontend
    
  2. Summon Mongo 🍃
    Have MongoDB running somewhere. If it’s not up, the API will ghost you harder than a bad roommate.

  3. Whisper secrets (repo root, .env)

    NODE_ENV=development
    PORT=5000
    MONGO_URI=mongodb://127.0.0.1:27017/your_db_name
    JWT_SECRET=make_it_long_and_random_no_password123_pls
    
  4. Hit go 🎬

    npm run dev
    

Production build (when you’re showing off):
npm run build --prefix frontend then NODE_ENV=production npm start


✨ What it does (feature buffet)

🔐 Register / login (navbar stays minimal until you’re in — we’re not nosy)
👤 Student CRUD + details
📍 Update student whereabouts
✅ Daily attendance
📊 Analysis views
📥 CSV export for attendance
🗑️ Nuke old attendance by “last N days”
👑 Admin: user list + toggle admin status

🤝 Contributing

PRs welcome. Big ideas? Open an issue first so we can panic together constructively.

Tests: npm test --prefix frontend (Vitest; add tests if you’re feeling brave).

探索相关项目

加载中…