- 같은 기능을 서로 다른 Python Web Framework로 구현하는 프로젝트입니다.
- 같은 DB, API를 바탕으로 제작되었습니다.
- Django + DRF(serializer)
- DRF의 serialzier를 사용하는 일반적인 프로젝트입니다.
- Django + DRF(pydantic)
- DRF의 serialzier대신 pydantic을 활용해보는 프로젝트입니다.
- Django + django-ninja
- DRF대신 django-ninja를 활용하는 프로젝트입니다.
- FasAPI
- FastAPI, Pydantic, SQLAlchempy를 활용한 프로젝트입니다.
erDiagram
User {
int id
str username
str password
}
Article {
int id
str title
str content
datetime created_at
datetime updated_at
}
Reply {
int id
str content
datetime created_at
datetime updated_at
}
User }o--|| Article : write
User }o--|| Reply : write
Article }o--|| Reply : contain
- Article - title : string(20)
- Reply - content : string(20)
articles/
GET 전체 게시글 목록articles/
POST 게시글 작성articles/<article_id>/
GET 특정 게시글 조회