{"id":22919300,"url":"https://github.com/kawodyaarachchige/green_shadow_backend","last_synced_at":"2026-04-16T08:31:11.427Z","repository":{"id":267568761,"uuid":"882555965","full_name":"kawodyaarachchige/Green_shadow_backend","owner":"kawodyaarachchige","description":"A Spring Boot API to manage crop data, resources, and operation logs for efficient farm management, helping track crops, resources, and activities on the farm","archived":false,"fork":false,"pushed_at":"2024-12-11T04:33:53.000Z","size":132,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-07T08:27:30.952Z","etag":null,"topics":["hibernate","jpa-repository","jwt","mysql","spring-boot","spring-mvc","spring-security"],"latest_commit_sha":null,"homepage":"","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/kawodyaarachchige.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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":"2024-11-03T05:06:57.000Z","updated_at":"2024-12-11T04:33:57.000Z","dependencies_parsed_at":"2024-12-11T05:25:21.698Z","dependency_job_id":"f26a4e55-d1c4-4e50-97c1-d8cf0ee3efae","html_url":"https://github.com/kawodyaarachchige/Green_shadow_backend","commit_stats":null,"previous_names":["kawodyaarachchige/green_shadow_backend"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kawodyaarachchige%2FGreen_shadow_backend","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kawodyaarachchige%2FGreen_shadow_backend/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kawodyaarachchige%2FGreen_shadow_backend/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kawodyaarachchige%2FGreen_shadow_backend/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/kawodyaarachchige","download_url":"https://codeload.github.com/kawodyaarachchige/Green_shadow_backend/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246645441,"owners_count":20810955,"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":["hibernate","jpa-repository","jwt","mysql","spring-boot","spring-mvc","spring-security"],"created_at":"2024-12-14T07:11:31.715Z","updated_at":"2026-04-16T08:31:11.383Z","avatar_url":"https://github.com/kawodyaarachchige.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"## Crop Monitoring System Backend - Green Shadow\n\n### API Documentation\n[View API Documentation](https://documenter.getpostman.com/view/36189302/2sAYBbc8KB)\n\n### Frontend Repository\n[Crop Monitoring System Frontend](https://github.com/kawodyaarachchige/Green_shadow_frontend.git)\n\n---\n\n### Description\nThis project is a **Crop Monitoring System Backend** built using **Java Spring Boot**, with **MySQL** as the database and **Hibernate** as the ORM framework. The application provides **role-based access control (RBAC)** for roles such as `ADMINISTRATIVE`, `MANAGER`, and `SCIENTIST`. It uses **JWT-based authentication** for secure login and token management. The system ensures dynamic communication between frontend and backend using **AJAX/Fetch API**. Logging and efficient query handling with Hibernate JPQL ensure high performance and maintainability.\n\n---\n\n### Tech Stack\n- **Java-Spring Boot**: Simplifies enterprise application development with minimal configuration.\n- **Hibernate**: Provides easy-to-use ORM for seamless database interactions.\n- **MySQL**: Reliable RDBMS for efficient data storage.\n- **AJAX/Fetch API**: Facilitates dynamic content updates without reloading pages.\n- **JWT**: Ensures secure authentication and authorization with token-based mechanisms.\n\n---\n\n### Features\n- **Role-Based Access Control**: Granular access permissions for different user roles.\n- **JWT Authentication**: Secure sign-in, sign-up, and token refresh support.\n- **Hibernate ORM**: Simplifies database management and optimizes query execution with JPQL.\n- **AJAX Integration**: Enables a smooth and responsive user experience.\n- **Comprehensive Logging**: Tracks system activity with INFO, DEBUG, WARN, and ERROR levels.\n\n---\n\n### Role Permissions\n\n- **MANAGER**: Has full CRUD (Create, Read, Update, Delete) access to all system entities.\n- **ADMINISTRATOR**: Limited to read-only access for crop, field, and log-related data.\n- **SCIENTIST**: Restricted from modifying staff, vehicle, and equipment records.  \n\n---\n\n### License\n\nThis project is released under the [MIT License](LICENSE).\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkawodyaarachchige%2Fgreen_shadow_backend","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkawodyaarachchige%2Fgreen_shadow_backend","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkawodyaarachchige%2Fgreen_shadow_backend/lists"}