Giter Site home page Giter Site logo

rufas-project's Introduction

RUFAS

프로젝트 설명

쇼핑몰 웹사이트에서 간단한 코드 적용을 통해서 웹 사용자들의 사이트 이용 로그를 수집하여 이용형태를 확인 할 수 있는 프로그램


Django 사용 방법

  1. 사용 라이브러리 리스트

     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
    
  2. 서버 실행

    1. web_site 폴더 접근
    2. python manage.py runserver 실행

    • model 생성 또는 변경시
      1. python manage.py makemigrations
      2. python manage.py migrate

  1. 구현 기능

현재 구현 API

  • 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

rufas-project's People

Contributors

junghoon99 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.