A full-stack application with a frontend (Vite/Three) and backend (Python/Flask) service, containerized using Docker.
Avatar-ChatBot/
├── Application/ # Frontend (Vite/Three)
│ ├── Dockerfile
│ ├── package.json
│ └── src/
├── Backend/ # Backend (Python/Flask)
│ ├── Dockerfile
│ ├── chatbot/
│ ├── emotion detection/
│ ├── requirements.txt
│ └── app.py
├── docker-compose.yml
└── README.md
- Node.js (v22)
- Python (3.9)
- Docker (v24+)
- Docker Compose (v2.20+)
git clone https://github.com/ilias-stack/Avatar-ChatBot.git
cd Avatar-ChatBot
cd Application
npm install # Install dependencies
npm run dev # Start development server
cd Backend
python -m venv venv
source venv/bin/activate # Linux/Mac
venv\Scripts\activate # Windows
pip install -r requirements.txt
python app.py
# Build and start containers
docker-compose up --build
# Stop and remove containers
docker-compose down
# View logs
docker-compose logs -f
Service | URL |
---|---|
Application | localhost:80 |
Backend | localhost:5000 |