This repository has been archived by the owner on Aug 25, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #84 from natrontech/analyze-phipu2
Analyze phipu2
- Loading branch information
Showing
4 changed files
with
104 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,53 @@ | ||
# Analyzer | ||
# NoScope360 Analyze Service | ||
|
||
The analyzer reads the data from Elasticsearch, transforms it according to the indicator definitions and makes it available to the frontend in a unified format as a REST API. | ||
The NoScope360 Analyze Service is a robust Spring Boot application designed to handle operations related to | ||
municipalities and surveys, offering capabilities such as fetching detailed municipality insights, computing average | ||
ratings, managing and processing survey data, and more. | ||
|
||
### Features | ||
|
||
* **Municipality Operations:** Get a comprehensive overview of municipalities, detailed information on specific | ||
municipalities based on ID, and compute statistics for all municipalities. | ||
* **Survey Management:** Access a broad overview of all available surveys, fetch specific surveys by ID, view statistics | ||
related to surveys, and process answers for given surveys. | ||
* **Exception Handling:** Custom exception handling to handle scenarios such as invalid inputs and not-found resources. | ||
|
||
### Dependencies | ||
|
||
* **Spring Boot:** The backbone of our service, facilitating quick and efficient development. | ||
* **SLF4J:** Logging framework integrated to provide insights into operations and assist with debugging. | ||
* **Repositories:** Interaction with the database is facilitated using various repositories like | ||
QuantitativeDataRepository, QualitativeDataRepository, MunicipalityRepository, and more. | ||
* **SurveyClient:** An external client used for interactions related to survey operations. | ||
|
||
### Quick Start | ||
|
||
1. Clone the repository: | ||
|
||
```bash | ||
git clone [repository_url] | ||
``` | ||
|
||
2. Navigate to the project directory: | ||
|
||
```bash | ||
cd noscope360-analyze-service | ||
``` | ||
|
||
3. Build the project: | ||
|
||
```bash | ||
mvn clean install | ||
``` | ||
|
||
4. Run the application: | ||
|
||
```bash | ||
mvn spring-boot:run | ||
``` | ||
|
||
### Future Enhancements | ||
|
||
* Implement the outstanding `TODO` features in the `SurveyService`. | ||
* Extend the application to incorporate more granular insights related to municipalities and surveys. | ||
* Integrate with more data sources to enhance the comprehensiveness of our analysis. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters