Skip to content
/ lisa Public

This project uses lisa.mofaga.gov.np's API for comparative report analysis.

License

Notifications You must be signed in to change notification settings

Milanoo/lisa

Repository files navigation


About

Project Description

This project is built to retrieve and analyze data from the LISA (Local Government Institution Capacity Self Assessment) system, offered by the Ministry of Federal Affairs and General Administration of Nepal. The data, obtained via the API https://lisa.mofaga.gov.np/backend/api/reports/summary?fiscal_year_id={index starting at 1}, is utilized to generate comparative reports and visualizations of local government performance over multiple fiscal years. To reduce API calls and prevent server overload, all API responses are stored as JSON files, enhancing data analysis efficiency and providing a responsive user interface. Also there is the option to retrieve data of individual LG with detail score of each indicator with category mapping: https://lisa.mofaga.gov.np/backend/api/answers?fiscal_year_id={index starting at 1}&gnid={ LG ID}

Key Features

  • Data Fetching: Automatically fetches data from the LISA API for different fiscal years.
  • Interactive Visualization: Provides an interactive radar chart for comparing the performance of different local governments (LGs) based on various categories.
  • Comparison Table: Displays a comparison table with detailed scores for each category, highlighting differences between selected LGs.
  • Responsive Design: Ensures a user-friendly interface for analyzing and comparing data on different devices.

Technology Stack

  • Frontend: HTML, CSS, JavaScript, Chart.js for visualizations.
  • Backend: PHP for data processing and API interactions.
  • Containerization: Docker for easy deployment and setup.

Project Structure

LISA/
├── css/
├── data/
│   ├── LISA_summary_fiscal_year_4.json
│   └── ...
├── vendor/
├── docker-compose.yml
├── Dockerfile
├── index.php
└── script.js

Requirements

  • Docker Desktop
  • Web browser

Getting Started

Clone the Repository

git clone https://github.com/Milanoo/lisa.git
cd lisa

Using Docker

Pull the Docker Image

For easy deployment, you can pull the pre-built Docker image from Docker Hub:

docker pull milanosth/lisa-web:latest

Run the Docker Container

docker run -d -p 8080:80 milanosth/lisa-web:latest

This will start the web application on http://localhost:8080.

Building the Docker Image Locally

If you prefer to build the Docker image locally, follow these steps:

Build the Docker Image

docker-compose build

Run the Docker Container

docker-compose up

This will start the web application on http://localhost:8080.

Accessing the Application

Open your web browser and navigate to http://localhost:8080 to access the LISA web application.

Contributing

Contributions are welcome! Please fork the repository and create a pull request with your changes.

License

This project is licensed under the MIT License. See the LICENSE file for details.

Contact

If you have any questions or issues, please feel free to contact me at milanosth@gmail.com.

About

This project uses lisa.mofaga.gov.np's API for comparative report analysis.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published