Logo Lanfrica
  • Accueil
  • Atlas
  • Analyses
  • Documentation
  • Sign in

© 2026 Lanfrica. Tous droits réservés. Tous les droits d'auteur des ressources affichées sur le site Web Lanfrica appartiennent aux détenteurs de droits d'auteur d'origine, sauf indication contraire explicite.

mahingaRodin/-citizen-engagement-system-Rwanda-ICT-Chamber

Domaine:

digital infrastructure

Type de record:

software
Créateur:
mah
Hôte:
A citizen engagement system with a minimum viable product created using spring boot # Citizen Engagement System A Spring Boot-based system for managing citizen complaints and feedback on public services. ## Features - Submit and track citizen complaints - Categorize and route complaints to appropriate agencies - Status tracking for citizens - Admin interface for government response - Swagger UI for API documentation ## Tech Stack - Backend: Spring Boot 3.x - Database: PostgreSQL - API Documentation: Swagger/OpenAPI 3 - Security: Spring Security with JWT ## Prerequisites - Java 17 or higher - Maven - PostgreSQL ## Getting Started 1. Clone the repository: ```bash git clone [github.com] ``` 2. Configure the database in `application.properties`: ```properties spring.datasource.url=jdbc:postgresql://localhost:5432/citizen_engagement spring.datasource.username=your_username spring.datasource.password=your_password ``` 3. Build the project: ```bash mvn clean install ``` 4. Run the application: ```bash mvn spring-boot:run ``` The application will start on port 8080 by default. ## API Documentation Once the application is running, you can access: - Swagger UI: localhost - OpenAPI documentation: localhost ## API Endpoints ### Complaints - POST `/api/complaints` - Submit a new complaint - GET `/api/complaints/{id}` - Get complaint by ID - PUT `/api/complaints/{id}/status` - Update complaint status ## Security The application uses JWT authentication. To access protected endpoints: 1. Obtain a JWT token through the authentication endpoint 2. Include the token in the Authorization header: `Bearer ` ## Development ### Project Structure recreate the files but dnt change anything in the code base I'll help you recreate the files with the same code. Let's start with the OpenAPI configuration: Now let's recreate the Security configuration: Now let's create a sample controller to demonstrate Swagger annotations: Now that …

Visit

github.com