society-management-mygate

byONKAR GHOTALE

You are a senior full-stack engineer and UI/UX designer. Build a complete, production-quality "Society Management Software" (like MyGate Dashboard) using ONLY pure HTML, CSS and vanilla JavaScript (ES6 modules). No frameworks, no build tools. Data is stored in localStorage through a single data-service layer (store.js) so that it can later be swapped for a REST API (Spring Boot + MySQL) without touching UI code. PRODUCT NAME: SocietyPro (editable in settings) ROLES: Society Admin, Accountant, Resident, Security Guard. Role-based sidebar and permissions. Seed demo logins for each. LAYOUT (match modern SaaS dashboard): - Left slim icon sidebar (collapsible, tooltips, red dot for pending items) - Top bar: Search Settings (Ctrl+K command palette), Society name selector, Financial Year dropdown (FY 2026-2027), user profile menu - Main area: card-based dashboard, right column "What's New" + stats - Fully responsive (desktop, tablet, mobile), light + dark theme - Design: clean, rounded 16px cards, soft shadows, pill buttons, Inter font, primary color indigo, accent amber, status colors for paid/pending/overdue DASHBOARD: 1. Shortcuts (user-editable, pill buttons) + Smart Suggestions row 2. Actions Pending cards with counts and arrows: New Users, Move In/Out, Escalated Tickets, Payment Intimations, plus Refresh Data with "Last refreshed" time 3. Defaulters table (Name, Flat, Amount, View All) 4. Society Stats (total flats, occupied, residents, collection % this month, expenses, bank balance) with charts (canvas/SVG, no libraries) 5. Notice highlights, "Ask AI" floating button opening a chat panel (rule-based answers from app data, e.g. "who has not paid?") MODULES (each with list, search, filters, add/edit/delete modal, pagination, CSV export): 1. Society setup: wings/towers, floors, flats (area sqft, type, owner/tenant, parking), residents, family members 2. Manage Admins and role permissions 3. Notice Board: create, category, pin, expiry, read counts 4. Helpdesk Complaints: raise ticket, category, priority, assign, status timeline, auto escalation after N hours to Escalated Tickets 5. Amenity Bookings: amenities, slots, calendar view, charges, approve/reject, clash prevention 6. Entry-Exit Report: visitors, delivery, staff, vehicles; guard screen for pre-approve, check-in/out, date filters 7. Asset PPM Calendar: assets, preventive maintenance schedule, calendar, vendor, due reminders, history 8. New Users and Move In/Out approval workflows ACCOUNTING MODULE (double-entry, important): - Chart of Accounts (Assets, Liabilities, Income, Expense, Equity) with defaults for an Indian housing society (Maintenance Income, Sinking Fund, Repair Fund, Water Charges, Parking, Non-Occupancy Charges, Interest on Late Payment, Electricity, Security Salary, Housekeeping, Lift AMC, Bank, Cash) - Maintenance Bill generator: monthly/quarterly, rules per flat type (fixed, per sqft, mixed), arrears carry forward, late fee/interest %, GST optional, bulk generate for all flats, bill preview + printable PDF (window.print) - Dues Tracker: per flat outstanding, ageing (0-30, 31-60, 61-90, 90+), send reminder (generate WhatsApp link with prefilled message) - Receipt Register: record payments (cash, cheque, UPI, NEFT), auto receipt number, allocate to bills, advance payments, printable receipt - Payment Intimations: resident submits payment proof, admin/accountant approves or rejects, which auto-creates receipt - Invoice History and Vendor Payments: vendor master, purchase invoices, TDS optional, payment vouchers, approval - Journal / Voucher entries (payment, receipt, journal, contra) with debit=credit validation - Ledger Statements: any account or flat, date range, opening/closing balance, running balance - Reports: Trial Balance, Income and Expenditure, Balance Sheet, Bank Reconciliation, Collection Report, Defaulters Report with Excel(CSV) and print-PDF export - Financial year handling: FY switch filters all data, year-end closing with opening balances carried forward, lock closed periods - Audit log of every accounting change (who, when, old/new) CODE STRUCTURE: /index.html, /login.html /css/ (variables.css, base.css, layout.css, components.css, pages/*.css) /js/core/ (router.js hash-based, store.js, auth.js, utils.js, ui.js for modal/toast/table/datepicker) /js/modules/ (dashboard, flats, notices, helpdesk, amenities, visitors, assets, accounting/*.js) /data/seed.js (realistic Indian demo data: 120 flats, names, amounts in ₹ with Indian number formatting) RULES: - Clean reusable components (DataTable, Modal, Form builder, Toast, Charts) - Validate all forms, show empty states and loading skeletons - Accessible (labels, keyboard nav, focus states) - Comment code, no placeholders, no "TODO", all features working - Currency ₹ with Indian grouping (1,23,456.00), dates DD/MM/YYYY DELIVERY: Build in phases. START WITH PHASE 1: full folder structure, design system, layout shell (sidebar, topbar, command palette, theme), router, store.js, auth with 4 roles, and the complete Dashboard with seed data. After finishing, stop and wait for me to say "next phase" for the next module.

LandingLogin
Landing

Comments (0)

No comments yet. Be the first!

Project Tasks

62 planning tasks
#1

Generate system requirement document

1m 22s0.05 cr used
Done
#2

Generate personas & user flows

0m 17s0.05 cr used
Done
#7

Create flow for Society Admin

0m 12sCredits in parent
Done
#8

Create flow for Accountant

0m 12sCredits in parent
Done
#9

Create flow for Resident

0m 12sCredits in parent
Done
#10

Create flow for Security Guard

0m 12sCredits in parent
Done
#11

Landing

5m 40sCredits in subtasks
Done
#51

Fix Landing review finding: Hero stat figures cause horizontal overflow and the…

0m 16s0.02 cr used
Done
#42

Landing / Public Header

0m 0s0.85 cr used
Done
#43

Landing / Hero Band

0m 26s0.85 cr used
Done
#44

Landing / Capability Grid

0m 57s0.85 cr used
Done
#45

Landing / Audience Roles

0m 35s0.85 cr used
Done
#46

Landing / Entry Cta

0m 49s0.85 cr used
Done
#47

Landing / Public Footer

0m 0s0.85 cr used
Done
#50

Fix Landing: Hero stat figures cause horizontal overflow and the financial-year figure is clipped at…

0m 53sCredits unavailable
Done
#41

Retry First Page

3m 54s0.02 cr used
Done
#48

Public Header

0m 24sCredits in parent
Done
#49

Public Footer

0m 14sCredits in parent
Done
#12

Login

1m 58sCredits in subtasks
Done
#52

Login / Public Header

0m 0s0.85 cr used
Done
#53

Login / Identity Band

0m 28s0.85 cr used
Done
#54

Login / Credential Form

0m 33s0.85 cr used
Done
#55

Login / Access Strip

0m 21s0.85 cr used
Done
#56

Login / Public Footer

0m 0s0.85 cr used
Done
#13

Sign Up

3m 10sCredits in subtasks
Paused
#57

Sign Up / Public Header

0.85 cr needed
Paused
#58

Sign Up / Identity Band

0.85 cr needed
Paused
#59

Sign Up / Enrollment Form

0.85 cr needed
Paused
#60

Sign Up / Access Strip

0.85 cr needed
Paused
#61

Sign Up / Public Footer

0.85 cr needed
Paused
#14

Dashboard

3m 10sCredits in subtasks
Paused
#63

Dashboard / Public Header

0.85 cr needed
Paused
#62

Dashboard / Content

0.85 cr needed
Paused
#64

Dashboard / Public Footer

0.85 cr needed
Paused
#15

Society setup

3m 10sCredits in subtasks
Paused
#16

Manage Admins

3m 10sCredits in subtasks
Paused
#17

Notice Board

3m 10sCredits in subtasks
Paused
#18

Helpdesk Complaints

3m 9sCredits in subtasks
Paused
#19

Escalated Tickets

3m 9sCredits in subtasks
Paused
#20

Amenity Bookings

3m 9sCredits in subtasks
Paused
#21

Entry-Exit Report

3m 9sCredits in subtasks
Paused
#22

Asset PPM Calendar

3m 9sCredits in subtasks
Paused
#23

New Users

3m 9sCredits in subtasks
Paused
#24

Move In/Out

3m 9sCredits in subtasks
Paused
#25

Chart of Accounts

3m 9sCredits in subtasks
Paused
#26

Maintenance Bill

3m 8sCredits in subtasks
Paused
#27

Dues Tracker

3m 8sCredits in subtasks
Paused
#28

Receipt Register

3m 8sCredits in subtasks
Paused
#29

Payment Intimations

3m 8sCredits in subtasks
Paused
#30

Invoice History

3m 8sCredits in subtasks
Paused
#31

Vendor Payments

3m 8sCredits in subtasks
Paused
#32

Journal / Voucher

3m 8sCredits in subtasks
Paused
#33

Ledger Statements

3m 8sCredits in subtasks
Paused
#34

Trial Balance

3m 7sCredits in subtasks
Paused
#35

Income and Expenditure

3m 7sCredits in subtasks
Paused
#36

Balance Sheet

3m 7sCredits in subtasks
Paused
#37

Bank Reconciliation

3m 7sCredits in subtasks
Paused
#38

Collection Report

3m 7sCredits in subtasks
Paused
#39

Defaulters Report

3m 7sCredits in subtasks
Paused
#40

Settings

3m 7sCredits in subtasks
Paused
#5

Architecture

0.05 cr needed
Paused
#6

Workspace task plan

0.05 cr needed
Paused
Landing design preview
Landing: Read capability summary
Login: Sign in
Dashboard: Review pending actions
Chart of Accounts: Add default account
Maintenance Bill: Configure billing rules
Maintenance Bill: Bulk generate bills
Maintenance Bill: Preview and print bill
Dues Tracker: View ageing buckets
Dues Tracker: Send reminder link
Payment Intimations: Review payment proof
Payment Intimations: Approve intimation
Receipt Register: Record payment
Receipt Register: Allocate to bills
Receipt Register: Print receipt
Payment Intimations: Reject intimation
Invoice History: Review purchase invoice
Vendor Payments: Create payment voucher
Vendor Payments: Apply TDS
Vendor Payments: Approve payment
Journal / Voucher: 1. Enter debit and credit
Journal / Voucher: 2. Correct unbalanced voucher
Journal / Voucher: Save balanced voucher
Ledger Statements: Select account and date range
Ledger Statements: Export CSV
Trial Balance: Generate report
Income and Expenditure: Generate report
Balance Sheet: Generate report
Bank Reconciliation: Reconcile bank activity
Collection Report: Export CSV
Defaulters Report: Print PDF
Settings: Set financial year
Settings: Save settings
Landing design preview
Landing: Read capability summary
Login: Sign in
Dashboard: Review pending actions
Chart of Accounts: Add default account
Maintenance Bill: Configure billing rules
Maintenance Bill: Bulk generate bills
Maintenance Bill: Preview and print bill
Dues Tracker: View ageing buckets
Dues Tracker: Send reminder link
Payment Intimations: Review payment proof
Payment Intimations: Approve intimation
Receipt Register: Record payment
Receipt Register: Allocate to bills
Receipt Register: Print receipt
Payment Intimations: Reject intimation
Invoice History: Review purchase invoice
Vendor Payments: Create payment voucher
Vendor Payments: Apply TDS
Vendor Payments: Approve payment
Journal / Voucher: 1. Enter debit and credit
Journal / Voucher: 2. Correct unbalanced voucher
Journal / Voucher: Save balanced voucher
Ledger Statements: Select account and date range
Ledger Statements: Export CSV
Trial Balance: Generate report
Income and Expenditure: Generate report
Balance Sheet: Generate report
Bank Reconciliation: Reconcile bank activity
Collection Report: Export CSV
Defaulters Report: Print PDF
Settings: Set financial year
Settings: Save settings