/chinese-translation-app

Chinese to English Translation Full Stack Web App + Automated Load Testing with Locust/AWS EC2/GCE/Terraform

Primary LanguagePythonMIT LicenseMIT

Chinese-English Translation Web App

Full-stack web application to automatically translate Chinese to English (and vice-versa) with React/Next.js/FastAPI and deep learning models (BERT) and automated cloud API load-testing with AWS EC2, Google Compute Engine, Terraform, and Locust.

Hosted at: https://easiermtl.com/

easiermtl_demo.mp4

Table of Contents

Getting Started

Make sure you have the following already installed:

  • Frontend
    • ^yarn 1.22.17
  • Backend
    • ^poetry 1.1.11
  • Deployment
    • docker
    • terraform
    • aws
    • gcloud
    • kubectl

Rest will be installed as long as you follow the documentation.

The full deployment instructions to Google Kubernetes Engine with K8s and Helm are located here.

If you don't want to use Kubernetes or want to run locally, run the ui and server separately. See the individual READMEs in ui and server for more information.

Tech Stack

  • Frontend
    • React, Next.js, draft.js
  • Backend
    • Python, FastAPI
  • Model Development
    • PyTorch, HuggingFace
  • Instance Deployment & Load-Testing
    • AWS, GCE, Docker, Terraform
    • Locust
  • Actual Deployment
    • Kubernetes + Helm
    • Google Kubernetes Engine (GKE)

Contributors