Skip to content

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

License

Notifications You must be signed in to change notification settings

nicehorse06/user-management-api

Repository files navigation

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

About

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

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published