This repository is designed to test my technical skills for a fullstack developer position. The frontend was designed using React (Next.js, TailwindCSS) and Python (FastAPI, Uvicorn) for the backend.
This project allows users to interact with a chatbot providing specific questions and receiving question related responses. The responses are simulated on the backend, retrieved and visualized by toggling a button within the UI. The fact-checking mechanism allows for document verification of the mocked data directly from the UI.
- Chatbot Interface: Users can ask questions and receive simulated AI-generated responses.
- Fact-Checking: A button allows users to fetch reference documents to validate chatbot responses.
- Caching Mechanism: A simulated Python dictionary cache ensures efficiency by storing previous responses.
- Asynchronous Processing: Ensures concurrent access to the cache with simulated delays for realistic API behavior.
- Dockerized Deployment: The entire application runs in containers for easy setup and testing.
- Clone this repo into your local machine and cd into it.
git clone https://github.com/muno1/fullstack.git
cd fullstack-
Run
docker-compose upfrom root directory. -
Visit http://localhost:3000 to access the application
-
Start typing questions!
- Docker 🐳
- Docker Compose 🐳