{"id":25216437,"url":"https://github.com/rohan26ir/property-pulse-server","last_synced_at":"2026-04-04T08:41:08.357Z","repository":{"id":275843931,"uuid":"927371312","full_name":"rohan26ir/Property-Pulse-server","owner":"rohan26ir","description":"The server side of PropertyPulse serves as the backend API for the Building Management System. It manages the database, user roles, JWT authentication, and secure API endpoints.","archived":false,"fork":false,"pushed_at":"2025-02-04T21:05:24.000Z","size":26,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-05T09:15:29.836Z","etag":null,"topics":["backend","expressjs","jwt","mongodb","nodejs"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/rohan26ir.png","metadata":{"files":{"readme":"Readme.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2025-02-04T21:02:15.000Z","updated_at":"2025-02-04T22:16:56.000Z","dependencies_parsed_at":"2025-02-04T22:19:17.735Z","dependency_job_id":null,"html_url":"https://github.com/rohan26ir/Property-Pulse-server","commit_stats":null,"previous_names":["rohan26ir/property-pulse-server"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rohan26ir%2FProperty-Pulse-server","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rohan26ir%2FProperty-Pulse-server/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rohan26ir%2FProperty-Pulse-server/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rohan26ir%2FProperty-Pulse-server/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rohan26ir","download_url":"https://codeload.github.com/rohan26ir/Property-Pulse-server/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247312072,"owners_count":20918344,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["backend","expressjs","jwt","mongodb","nodejs"],"created_at":"2025-02-10T19:18:07.511Z","updated_at":"2025-12-30T20:06:33.378Z","avatar_url":"https://github.com/rohan26ir.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# PropertyPulse - Server Side  \n\n## Purpose  \nThe server side of PropertyPulse serves as the backend API for the Building Management System. It manages the database, user roles, JWT authentication, and secure API endpoints.  \n\n---\n\n## Key Features  \n\n1. **JWT Authentication**  \n   - Tokens generated during login and verified for private routes.  \n\n2. **Role-Based Access Control**  \n   - Roles: User(without role), Member, and Admin.  \n   - Admin-exclusive actions like announcements and user management.  \n\n3. **Apartment Management**  \n   - Store and retrieve apartment data securely.  \n   - Paginated API for apartment listing.  \n   - Search functionality with rent range filter.  \n\n4. **Agreement Management**  \n   - Store agreement requests with pending status.  \n   - Update status after admin approval or rejection.  \n\n5. **Coupon Management**  \n   - Add, view, and update coupon availability by the admin.  \n\n6. **Payment Processing**  \n   - Store payment history for members.  \n   - Apply valid coupons to reduce rent dynamically.  \n\n7. **Notifications**  \n   - Send notices for overdue rent.  \n\n8. **Secure Data Handling**  \n   - Firebase keys and MongoDB credentials secured using environment variables.  \n   - Axios interceptors for handling token-based API requests.  \n\n---\n\n## Tech Stack  \n\n- **Node.js**: Runtime environment.  \n- **Express.js**: Server framework.  \n- **MongoDB**: Database for storing data.  \n- **JWT**: Authentication and authorization.  \n- **Dotenv**: Secure environment variables.  \n- **Mongoose**: ORM for MongoDB.  \n- **Cors**: Cross-Origin Resource Sharing.  \n\n---\n\n## Notable Commits  \n\n- Implemented JWT authentication and private route protection.  \n- Designed API endpoints for CRUD operations on apartments.  \n- Added paginated and filtered apartment retrieval.  \n- Integrated coupon management system.  \n- Secured sensitive data with environment variables.  \n\n---\n\n## Deployment  \nDeployed on Vercel.\n\n---\n\n\n## Repository Links  \n\n\n- [Client Repository](https://github.com/rohan26ir/Property-Pulse)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frohan26ir%2Fproperty-pulse-server","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frohan26ir%2Fproperty-pulse-server","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frohan26ir%2Fproperty-pulse-server/lists"}