https://github.com/yigitoo/atay
The project source code for Ağ Tabanlı Afet Yönetim Sistemi: ATAY.
https://github.com/yigitoo/atay
arduino atay company deprem disaster earthquake embedded iot lifesaver saver server web
Last synced: 6 months ago
JSON representation
The project source code for Ağ Tabanlı Afet Yönetim Sistemi: ATAY.
- Host: GitHub
- URL: https://github.com/yigitoo/atay
- Owner: yigitoo
- License: mit
- Created: 2022-03-13T14:29:24.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2024-06-19T23:21:27.000Z (over 1 year ago)
- Last Synced: 2024-09-15T05:18:07.673Z (about 1 year ago)
- Topics: arduino, atay, company, deprem, disaster, earthquake, embedded, iot, lifesaver, saver, server, web
- Language: Python
- Homepage: https://github.com/yigitoo/atay
- Size: 93.4 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# ATAY: Ağ Tabanlı Afet Yönetim Sistemi
## !!! documentation process are not completed and the project is in-development !!!
## Definitions:
- ATAY: Ağ Tabanlı Afet Yönetim(i)
- NBDM: Network Based Disaster Management (ATAY in English)
- Geolocation API
- API key: An Application Programming Interface authentication
key for using the Geolocation Services.
---
Please run the following command before using scripts.
```bash
$ chmod u+x ./scripts/*.sh
```And please create .env.local file like this: (in the server folder)
```bash
#DB_CREDENTIALS
HOST=localhost
PORT=3306
USERNAME=root
PASSWORD=yourpassword
DRIVER=pymysql
DIALECT=mysql
DB_NAME=atay
USERS_TABLE=users
STRUCTURES_TABLE=structures
CARD_DATASETS_TABLE=card_datasets
CARD_STATUSES_TABLE=card_statuses
SECRET_KEY=e58c587c-7c6d-415a-805b-fbabbc264308 # you can create it with uuid.uuid4()```
## Folder structures
---```markdown
├── __init__.py
├── ai
│ ├── __init__.py
│ ├── data_fetcher.py
│ └── model.py
├── assets
│ └── atay_db_diagram.png
├── atay-embedded
│ ├── api_conn_test.py
│ ├── atay
│ │ ├── atay.ino
│ │ ├── data
│ │ │ └── token.txt
│ │ └── libs.txt
│ ├── atay-host-url
│ │ ├── index.js
│ │ ├── package.json
│ │ ├── pnpm-lock.yaml
│ │ ├── README.txt
│ │ └── vercel.json
│ ├── requirements.txt
│ └── token.txt
├── scripts
│ ├── __init__.py
│ ├── curl_request_generator.py
│ ├── make_dotenv.py
│ ├── schema.sql
│ ├── setup_db.bat
│ └── setup_db.sh
├── server
│ ├── __init__.py
│ ├── __pycache__
│ │ ├── database.cpython-311.pyc
│ │ ├── mylogger.cpython-311.pyc
│ │ ├── responses.cpython-311.pyc
│ │ ├── server.cpython-311.pyc
│ │ └── utils.cpython-311.pyc
│ ├── config
│ │ ├── 1-stderr-file.json
│ │ ├── 1-stderr-file.yaml
│ │ ├── 2-stderr-json-file.json
│ │ └── 2-stderr-json-file.yaml
│ ├── database.py
│ ├── logs
│ │ └── atay.log
│ ├── make_user.py
│ ├── Makefile
│ ├── mylogger.py
│ ├── requirements.txt
│ ├── responses.py
│ ├── server.py
│ ├── static
│ │ ├── ATAY.png
│ │ ├── favicon.ico
│ │ └── robots.txt
│ └── utils.py
├── LICENSE.md
├── README.md
└── TODO.md
```# To see a detailed example DB Diagram of ATAY:
---
_P.S: If you want to see exact database variable names. see the ```server/database.py```_