Sentigo is a mobile application designed to analyze user emotions and provide personalized recommendations. It consists of two microservices (emotion_service and recommendation_service) and a Flutter-based frontend.
- Emotion Detection: Analyze user input to detect emotions using the
emotion_service. - Personalized Recommendations: Provide tailored recommendations based on detected emotions using the
recommendation_service.
The project is divided into three main components:
-
Backend Microservices:
emotion_service: Detects emotions from user input.recommendation_service: Generates recommendations based on the detected emotion.
-
Frontend:
- A Flutter application that interacts with the backend services to provide a user-friendly interface.
-
Docker Compose:
- Orchestrates the microservices for easy deployment and management.
- Docker and Docker Compose installed on your system.
- Flutter SDK installed for frontend development.
- Android studio for running the mobile emulator and backend services
git clone https://github.com/sreyas-b-anand/sentigo
cd sentigo- Create a .env file in recommendation_service folder and paste the below code in it . You need an api key from https://mistral.ai/
'MISTRAL_API_KEY'='YOUR API KEY'- Create a .env file in frontend folder and paste the below code in it
FLUTTER_APP_EMOTION_SERVICE=your_backend_url/get_emotion
FLUTTER_APP_RECOMMENDATION_SERVICE=your_backend_url/get_recommendationcd backend
docker-compose up --build- This will:
- Start the emotion_service on port 5000.
- Start the recommendation_service on port 5001.
cd frontend
flutter pub get- This will install the required dependencies
flutter run
