본문 바로가기

인문학도 개발일지/웹프로그래밍

Build a Backend REST API with Python & Django - 사용 기술

local development server를 이용하는 이유

로컬 머신에서 코드를 실행할 때의 문제점

- 협업의 어려움

- 윈도우, 맥과 같은 다른 운영체제에서 문제

- 우리가 사용하는 다른 앱과 충돌

- Clogs up our system with dev tools

- Different OS from the server

 

 

 

그래서 구축할 작업 환경은...?

 

 

 

1. Development Server 

Vagrant > Virtual Box > Virtual Server

가상 개발 머신에서 코드를 돌렸을 때

- Easy to share the server with others.

- exact same version of all requirements

- run exactly the same software as a real production server

- Easily create and destroy server as needed

 

 

 

2. Application Code

 

Layer#3

REST 프레임워크

django REST framework

Layer#2

프레임워크

django

Layer#1

프로그래밍 언어

Python

 

 

 

3. Tools

- ATOM(VS Code로 대체)

- git

- Modheader Chrome Extension

 

 

참고

- Youtube: London App Developer  youtu.be/RQsqBWqe4kg