An AI-powered diary application backend that supports emotion analysis, chatbot interaction, and multi-sensory healing features.
- Python 3.10+
- MySQL (with XAMPP or standalone installation)
- Flutter SDK
- Ollama (for local LLM serving)
- Clone the repository
git clone https://github.com/110213018/smiley_backend
Place the project in your C:/xampp/htdocs/{directory}.
- Set up the database
import smiley.sql into MySQL.
- Start Ollama local server
ollama serve
- Run the chatbot script (inside Chatbot_screen folder)
python TaiwanLLM_Chatbot_.py
- Run the backend
flask run
- Run the frontend
flutter run
smiley_backend/
├── Chatbot_screen/ # Chatbot scripts
├── backend/ # Flask backend
├── frontend/ # Flutter frontend
├── smiley.sql # Database schema
└── README.md # Project documentation