테스트 사이트 - 개발 중인 베타 버전입니다

REST API with Flask & SQLAlchemy

· 5년 전 · 900

JWT User Authentication은 없지만,

 

Flask와 Python용 ORM SQLAlchemy

그리고 marshmallow https://marshmallow.readthedocs.io/en/stable/ 를 사용한 간단한 REST API만들기 

 

Marshmallow가 하는 일

  • Validate input data.

  • Deserialize input data to app-level objects.

  • Serialize app-level objects to primitive Python types. The serialized objects can then be rendered to standard formats such as JSON for use in an HTTP API.

 

https://youtu.be/PTZiDnuC86g

댓글 작성

댓글을 작성하시려면 로그인이 필요합니다.

로그인하기

게시글 목록

번호 제목
831
830
829
827
824
823
821
819
818
814
809
808
807
806
803
801
799
798
797
796
794
786
783
782
767
742
655
614
591
590