PCOS Tracker — AI-Powered Wellness & Cycle Companion for Women's Hormonal Health
Back to ProjectFollow these steps carefully to set up the backend, the ML models, and the Flutter mobile app on your local machine.
Make sure the following are installed and accessible from your terminal before proceeding:
Open your terminal and run the commands below one after another.
cd backendpip install -r requirements.txtpython manage.py migratepython manage.py createsuperuserpython manage.py runserver 0.0.0.0:8000Once running, the API will be available at http://localhost:8000.
The repository already ships with pre-trained models inside backend/assessment/models/, but if you wish to retrain them on the included dataset:
python assessment/train_model.pyThis will load the PCOS dataset from backend/dataset/PCOS_data.csv, train both Random Forest and Logistic Regression models, pick the best performer automatically, and save it back to the models folder. Expected accuracy is around 83% on cross-validation.
Open a new terminal window for the mobile app.
cd pcos_trackerflutter pub getlib/config/constants.dart and update AppConstants.baseUrl. If you are running on a physical phone, use your laptop's local IP (for example http://192.168.1.5:8000) instead of localhost.flutter rundb.sqlite3 and re-run python manage.py migrate.python assessment/train_model.py once to regenerate the saved model.flutter clean followed by flutter pub get.If you face any issues during installation or want a one-on-one walkthrough of the codebase before your viva, our project setup and mentorship service covers everything from running the project to defending it in front of your panel. Reach out through the CodeAj Marketplace to get full support until submission.
Our team is here to assist you with installation and setup.