GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com β€” GitHub - msnodeve/flask-backend-RESTPlus: 🐍pipenv(pip + virtaulenv) 둜 REST API λ§Œλ“€κΈ° 2019.07.16 ~ 2019.07.25 μ™„λ£ŒπŸ™‹β€β™€οΈ πŸ™‹β€β™‚οΈ

BranchesTags
Open more actions menu

Latest commit

 

History

33 Commits
33 Commits

Folders and files

NameName
Last commit message
Last commit date
app
app
 
 
confs/database/mysql
confs/database/mysql
 
 
images
images
 
 
migrations
migrations
 
 
.envrc
.envrc
 
 
.gitignore
.gitignore
 
 
.travis.yml
.travis.yml
 
 
Makefile
Makefile
 
 
Pipfile
Pipfile
 
 
Pipfile.lock
Pipfile.lock
 
 
README.md
README.md
 
 
docker-compose.yml
docker-compose.yml
 
 
manage.py
manage.py
 
 

Repository files navigation

pipenv(pip + virtaulenv) 둜 κ²Œμ‹œνŒ λ§Œλ“€κΈ°

Build Status

python 개발 ν™˜κ²½λΆ€ν„° API, κ²Œμ‹œνŒκΉŒμ§€ λ§Œλ“€κΈ°

μžμ„Έν•œ 개발 ꡬ좕 단계 μ„€λͺ…

Develop Environments


  • MacBook Pro (13-inch, 2017, Four Thunderbolt 3 Ports)
  • Python 3.7
  • vscode
  • Docker-Compose version 1.23.2, build 1110ad01

Develop tools


  • pipenv = pip + virtualenv
  • Flask-RESTPlus = Flask-RESTful + Swagger
  • MySQL docker container
  • Docker-compose

Project Structure


.
β”œβ”€β”€ README.md
β”œβ”€β”€ app
β”‚   β”œβ”€β”€ __init__.py
β”‚   β”œβ”€β”€ constans.py
β”‚   β”œβ”€β”€ api
β”‚   β”‚   β”œβ”€β”€ __init__.py
β”‚   β”‚   β”œβ”€β”€ auth_type.py
β”‚   β”‚   └── database.py
β”‚   β”œβ”€β”€ posts
β”‚   β”‚   β”œβ”€β”€ __init__.py
β”‚   β”‚   β”œβ”€β”€ models.py
β”‚   β”‚   └── views.py
β”‚   β”œβ”€β”€ users
β”‚   β”‚   β”œβ”€β”€ __init__.py
β”‚   β”‚   β”œβ”€β”€ models.py
β”‚   β”‚   └── views.py
β”‚   └── tests
β”œβ”€β”€ confs
β”‚   └── database
β”‚       └── mysql
β”‚           └── .env
β”œβ”€β”€ Pipfile
β”œβ”€β”€ Pipfile.lock
β”œβ”€β”€ Makefile
β”œβ”€β”€ docker-compose.yml
β”œβ”€β”€ .gitignore
└── .envrc

How to run


> docker-compose up -d
> pipenv shell
> pipenv install --dev
> make database
> python manage.py run

Preview


api_image

Release

  • 2019λ…„ 7μ›” 25일 1μ°¨ 릴리즈 v1.0

What?

μ™œ ν•΄μ•Ό ν•˜λŠ”κ°€

  1. 개발 ν™˜κ²½ ꡬ좕은 μ§€μ˜₯
  2. λ‚˜μ˜ μ’€ 더 λ‚˜μ€ λ°œμ „μ„ μœ„ν•΄
  3. λ°± μ—”λ“œ, ν”„λ‘ νŠΈ μ—”λ“œ κΉŒμ§€ ν’€ μŠ€νƒμ„ λͺ©ν‘œλ‘œ
  4. ν”„λ‘œνŽ˜μ…”λ„ν•œ κ°œλ°œμžκ°€ 되기 μœ„ν•΄μ„œ

개인적 의견

μ•ˆλ“œλ‘œμ΄λ“œ ν΄λΌμ΄μ–ΈνŠΈλ§Œ κ°œλ°œν•˜λ‹€ λ³΄λ‹ˆ RESTful(?) λ°± μ—”λ“œ(?) 뭐가 뭐인지 아무것도 이해할 μˆ˜λ„ 이해할 μ‹œκ°„λ„ 이해할 겨λ₯Όλ„ μ—†μ—ˆλ‹€. μ²˜μŒμ—” 말둜만 λ°± μ—”λ“œ κ°œλ°œμžκ°€ λ˜μ–΄μ•Όμ§€ κ·Έλž¬μ§€λ§Œ, μ΄μ œλŠ” λ‹€λ₯΄λ‹€. μ„œμšΈμ— 올라온 만큼 λ‚΄ λ‘€ λͺ¨λΈ 개발자 ν˜• λ°‘μ—μ„œ μ—΄μ‹¬νžˆ 곡뢀해 λ§Žμ€ 것을 ν•΄ 보고자 ν•œλ‹€. 본인의 μž…μœΌλ‘œ "λ‚˜λŠ” κ°œλ°œμžλ‹€"라고 λ§ν•˜κ³  λ‹€λ‹ˆλŠ” 이상 λͺ¨λ₯΄κ³  λ„˜μ–΄κ°€λ©΄ μ•ˆ 될 뢀뢄이 μƒλ‹Ήνžˆ λ§Žλ‹€κ³  μƒκ°ν•œλ‹€. 이 ν”„λ‘œμ νŠΈλ„ κ·ΈλŸ¬ν•˜λ‹€. λͺ¨λ₯΄λŠ” μ‚¬λžŒλ“€μ€ μ ˆλŒ€λ‘œ λͺ¨λ₯Ό 것이닀. λ°± μ—”λ“œ ν”„λ‘œκ·Έλž˜λ¨Έκ°€ 되기 μœ„ν•΄μ„œλŠ” 기본적으둜 κ°–μΆ”μ–΄μ•Ό ν•  μ†Œμ–‘μ΄λΌ μƒκ°ν•œλ‹€!


How?

μ–΄λ–€ λ°©μ‹μœΌλ‘œ ν•΄κ²°ν•΄ λ‚˜μ•„κ°ˆ 것인가

github, python, pip, virtualenv, flask

  • Github에 μƒˆλ‘œμš΄ Repositoryλ₯Ό 생성해 Python을 기반으둜 ν•œ Flask ν”„λ ˆμž„μ›Œν¬λ₯Ό μ΄μš©ν•  것이닀.
  • master λΈŒλžœμΉ˜λŠ” κ°€μž₯ κΈ°λ³Έ νŒŒμΌλ“€λ§Œ λ¨Όμ € 생성해 두고, 브랜치 λ³„λ‘œ μƒμ„±ν•΄μ„œ ν”„λ‘œμ νŠΈλ₯Ό κ΄€λ¦¬ν•˜κ³ , κ°œλ°œν•  것이닀.

When?

μ–Έμ œ ν•  것인가

2019λ…„ 7μ›” 11일뢀터 μ‹œμž‘ν–ˆμœΌλ©° κ²Œμ‹œνŒ APIλ₯Ό μ™„μ„±ν•  λ•ŒκΉŒμ§€ 계속할 것이닀.

  • 2019λ…„ 7μ›” 25일 1μ°¨ 릴리즈

Who?

λˆ„κ°€ ν•˜λŠ”κ°€

λ‚΄κ°€ ν•œλ‹€.

이제 μ‹œμž‘ν•΄λ³΄λ„λ‘ ν•©μ‹œλ‹€!

About

🐍pipenv(pip + virtaulenv) 둜 REST API λ§Œλ“€κΈ° 2019.07.16 ~ 2019.07.25 μ™„λ£ŒπŸ™‹β€β™€οΈ πŸ™‹β€β™‚οΈ

www.notion.so/msnodeve/Flask-RESTPlus-API-CRUD-Board-8ae65b4edd764a15b381579e16802a69

Resources

Readme
Activity

Stars

2 stars

Watchers

0 watching

Forks

1 fork
Report repository

Releases

Packages

Used by

Contributors

Languages

You are visitor 01402503 β€” GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800Γ—600. No cookies required.