Yer1k / CD_FastAPI_AWS

Project 4: Ancient Chinese Poem Line Generator

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Ancient Chinese Poem Line Generator

Continuous Integration [AWS CodeBuild

Objective of this project

This project focus on creating a Microservice that returns JSON Payload and performs a Data Engineering related task. Continuous Integration shall be performed with Github Actions as well as Continuous Delivery with build server. In addtion, realistic API like FastAPI would be a great fit for demo.

My thought is to build an application that generate ancient Chinese poem line for people who are intested in learning. The poem library is provided by 今日诗词. The application will return a JSON payload containing the poem line, title, author, and category.

Architectural & Workflow

CI_CD_STACK

Example Output:

Link to the FastAPI swagger deployed on AWS App Runner:

https://mmg24jdu7i.us-east-1.awsapprunner.com/docs#/

(If you are intested in this app, please contact author via issues, the APPRunner may be paused due to cost)

image

Example JSON Payload

{
  "content": "洛阳城里春光好,洛阳才子他乡老。",
  "origin": "菩萨蛮",
  "author": "韦庄",
  "category": "古诗文-人生-青春"
}

About

Project 4: Ancient Chinese Poem Line Generator

License:Creative Commons Zero v1.0 Universal


Languages

Language:Python 76.8%Language:Dockerfile 16.0%Language:Makefile 7.2%