The Disaster Management System, known as AYS (AFET YÖNETİM SİSTEMİ), is an open-source and voluntary project. Its aim is to effectively manage the needs that arise during a natural disaster. It facilitates the coordination of processes related to these needs between volunteers and institutions operating in the disaster area.
This project is designed to be used by non-governmental organizations and volunteers affiliated with relevant organizations. It enables organizations to register both themselves and their volunteers. By doing so, it allows for the efficient and precise management of the needs within the disaster area, including the deployment of volunteers located in proximity to the affected regions.
This project is built using the following technologies:
git clone https://github.com/afet-yonetim-sistemi/ays-fe-landingnpm installnpm run devNote that you need to install Node.js and npm to run the project locally. We recommend using v24.0.12 of Node.js.
Before running the project, you need to run the following command to start the project container:
docker compose up -d --buildIf you want to recreate the project container, you can run the following command:
docker compose up --force-recreate -d --buildIf you want to stop the project container, you can run the following command:
docker compose down -vnpm run dev: Starts the development servernpm run build: Creates a production buildnpm run eslint: Runs ESLint to check for code issuesnpm run format: Checks code formatting with Prettiernpm run format:fix: Formats code according to Prettier rules
This project uses Husky to run automated checks before each commit:
- Lint-staged: Runs on changed files only
- Prettier: Code formatting
- ESLint: Code quality, style, and complexity checks
- TypeScript: Type checks the entire project
- ESLint: Enforces code style and catches common errors
- Complexity checks (max 15)
- Max function depth (4 levels)
- Max lines per function (150)
- Duplicate imports detection
- Unreachable code detection
- TypeScript: Static type checking
- SonarQube (CI/CD only): Full project analysis on the server
Thank you for your interest in contributing to Afet Yönetim Sistemi project. We appreciate your help in making our project better and more useful to everyone. To contribute to the project, please read the contributing guidelines first.