쇼핑몰 웹사이트에서 간단한 코드 적용을 통해서 웹 사용자들의 사이트 이용 로그를 수집하여 이용형태를 확인 할 수 있는 프로그램
-
Django==3.2.5 elasticsearch==8.8.2 PyMySQL==1.0.2 django-cors-headers==4.2.0 djangorestframework==3.14.0 djangorestframework-simplejwt==5.3.0
-
web_site
폴더 접근python manage.py runserver
실행
- model 생성 또는 변경시
python manage.py makemigrations
python manage.py migrate
api/signup/
post
: 회원가입 기능 담당(userid
,pw1
,pw2
,name
,address
,gender
,phone
)을 전달 받습니다.
api/login/
post
: 로그인 기능 담당(userid
,password
)를 전달 받습니다.
RUFAS-PROJECT
│ .gitignore
│ README.md
│ tree.txt
│
├─docker-elk
│ │ docker-compose.yml
│ │ LICENSE
│ │ README.md
│ │
│ ├─elasticsearch
│ │ │ Dockerfile
│ │ │
│ │ └─config
│ │ elasticsearch.yml
│ │
│ ├─extensions
│ │ │ README.md
│ │ │
│ │ ├─curator
│ │ │ │ curator-compose.yml
│ │ │ │ Dockerfile
│ │ │ │ README.md
│ │ │ │
│ │ │ └─config
│ │ │ curator.yml
│ │ │ delete_log_files_curator.yml
│ │ │
│ │ ├─enterprise-search
│ │ │ │ Dockerfile
│ │ │ │ enterprise-search-compose.yml
│ │ │ │ README.md
│ │ │ │
│ │ │ └─config
│ │ │ enterprise-search.yml
│ │ │
│ │ ├─filebeat
│ │ │ │ Dockerfile
│ │ │ │ filebeat-compose.yml
│ │ │ │ README.md
│ │ │ │
│ │ │ └─config
│ │ │ filebeat.yml
│ │ │
│ │ ├─fleet
│ │ │ agent-apmserver-compose.yml
│ │ │ Dockerfile
│ │ │ fleet-compose.yml
│ │ │ README.md
│ │ │
│ │ ├─heartbeat
│ │ │ │ Dockerfile
│ │ │ │ heartbeat-compose.yml
│ │ │ │ README.md
│ │ │ │
│ │ │ └─config
│ │ │ heartbeat.yml
│ │ │
│ │ ├─logspout
│ │ │ build.sh
│ │ │ Dockerfile
│ │ │ logspout-compose.yml
│ │ │ modules.go
│ │ │ README.md
│ │ │
│ │ └─metricbeat
│ │ │ Dockerfile
│ │ │ metricbeat-compose.yml
│ │ │ README.md
│ │ │
│ │ └─config
│ │ metricbeat.yml
│ │
│ ├─kibana
│ │ │ Dockerfile
│ │ │
│ │ └─config
│ │ kibana.yml
│ │
│ ├─logstash
│ │ │ Dockerfile
│ │ │
│ │ ├─config
│ │ │ logstash.yml
│ │ │
│ │ └─pipeline
│ │ logstash.conf
│ │
│ └─setup
│ │ Dockerfile
│ │ entrypoint.sh
│ │ lib.sh
│ │
│ └─roles
│ filebeat_writer.json
│ heartbeat_writer.json
│ logstash_writer.json
│ metricbeat_writer.json
│
├─docker-kafka
│ docker-compose.yml
│
└─web_site
│ db.sqlite3
│ env_setting.py
│ manage.py
│
├─rufas
│ │ admin.py
│ │ apps.py
│ │ models.py
│ │ serializers.py
│ │ tests.py
│ │ views.py
│ │ __init__.py
│ │
│ ├─migrations
│ │ │ 0001_initial.py
│ │ │ __init__.py
│ │ │
│ │ └─__pycache__
│ │ 0001_initial.cpython-39.pyc
│ │ __init__.cpython-39.pyc
│ │
│ └─__pycache__
│ admin.cpython-39.pyc
│ apps.cpython-39.pyc
│ models.cpython-39.pyc
│ __init__.cpython-39.pyc
│
├─templates
│ main-login.html
│
├─web_site
│ │ asgi.py
│ │ settings.py
│ │ urls.py
│ │ wsgi.py
│ │ __init__.py
│ │
│ └─__pycache__
│ settings.cpython-39.pyc
│ urls.cpython-39.pyc
│ wsgi.cpython-39.pyc
│ __init__.cpython-39.pyc
│
└─__pycache__
env_setting.cpython-39.pyc