Giter Site home page Giter Site logo

soomgo-assignment's Introduction

Soomgo 과제

기능

  • 어드민 계정으로 상품 등록
  • 일반 유저로 상품 구매
  • 구매한 상품 상세 보기
  • 구매한 상품 목록 보기

Getting Started

Project Setup

1. $ [email protected]:live-jh/soomgo-assignment.git
2. $ pip install virtualenv
3. $ virtualenv venv
4. $ source venv/bin/activate
5. config/settings/common/env.json 파일 옮기기 (있는 사람에게 요청)
6. 환경 변수 DJANGO_SETTINGS_MODULE=config.settings
7. $ pip install -r requirements.txt
8. $ python manage.py runserver

Project Information

backend

  • Python 3.8
  • PostgreSQL 13
  • Django 4.0

document

  • swagger

version control

  • Git & Gitlab

Project Structure

🚀 PROJECT
├── 📄 README.md
├── 📁 account
│   ├── 📄 __init__.py
│   ├── 📄 account_serializers.py
│   ├── 📄 admin.py
│   ├── 📄 apps.py
│   ├── 📁 migrations
│   ├── 📄 models.py
│   ├── 📄 tests.py
│   ├── 📄 urls.py
│   └── 📄 views.py
├── 📁 config
│   ├── 📄 __init__.py
│   ├── 📄 asgi.py
│   ├── 📁 common
│   │   ├── 📄 env.json                 # 환경변수
│   │   ├── 📄 exception_handler.py     # 커스텀 에러 핸들러
│   │   ├── 📄 library_classes.py       # 함수 라이브러리
│   │   └── 📄 response_code.py         # 상수 응답 코드
│   ├── 📄 settings.py                  # 프로젝트 세팅
│   ├── 📄 settings_test.py             # 테스트 세팅
│   ├── 📄 test_runner.py               # 테스트 러너
│   ├── 📄 urls.py
│   ├── 📄 utils                       
│   │   └── 📄 swagger_parameters.py    # 스웨거 openapi 함수
│   └── 📄 wsgi.py
├── 📄 manage.py
├── 📁 product
│   ├── __init__.py
│   ├── 📄 admin.py
│   ├── 📄 apps.py
│   ├── 📁 migrations
│   ├── 📄 models.py
│   ├── 📄 product_serializers.py
│   ├── 📄 tests.py
│   ├── 📄 urls.py
│   └── 📄 views.py
├── 📄 requirements.txt
└── 📁 templates

DB ERD

soomgo

Test Guide

테스트 명령

  • $ python manage.py test --verbosity 3

커버리지 테스트

  • $ coverage run manage.py test

커버리지 리포트

  • $ coverage report

soomgo-assignment's People

Contributors

livvjh avatar

Stargazers

Reed 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.