Skip to content

Latest commit

 

History

History
38 lines (30 loc) · 887 Bytes

README.md

File metadata and controls

38 lines (30 loc) · 887 Bytes

User Management API

This demo API, built using FastAPI, MongoDB, and Docker, manages user information and implements translation functionality using LangChain and the OpenAI API, and uses GitHub Actions for CI unit tests.

set OPENAI API key

Please add the variable OPENAI_API_KEY=your_key to your .env file to use this application.

Using Docker

docker compose up --build

Local Development

  • Start MongoDB Container
docker pull mongo
  • Start FastAPI Application
docker run -d --name mongodb -p 27017:27017 mongo
uvicorn app.main:app --reload

Documentation URLs

TODO

  • Unit testing
  • add Nginx
  • More asyncio example scenarios
  • API validation
  • Run GitHub Actions