A REST API built with FastAPI and Python for capturing daily life data (mood, sleep, exercise) with permanent storage in MongoDB. Features async endpoints, automatic data validation, and interactive API documentation. Perfect for building personal life tracking applications. GitHub: https://github.com/musthaqahmedg/life-companion-v2
No reviews yetBe the first to leave a review for Life Companion API
Maker
📌
Hey Product Hunters! 👋
I built Life Companion API - a REST API for capturing and storing daily life data. It's built with FastAPI, Python, and MongoDB.
🎯 Features:
- Async REST endpoints for performance
- Automatic data validation with Pydantic
- Interactive Swagger UI docs
- MongoDB for permanent data storage
- Open source on GitHub
💾 Save daily entries (mood, sleep, exercise)
🔍 Retrieve entries by user
This is Phase 2 of my larger Life Companion project. Excited to share it with builders here!
GitHub: https://github.com/musthaqahmedg...
Report
honestly this looks like a solid base, but one thing that would really help is adding user authentication with JWT tokens right now it seems like anyone could post data to the api without restrictions maybe add endpoints for sign up and login so each person only sees their own mood sleep and exercise entries
Report
Maker
@melisrtekimejb Great point! You're absolutely right. JWT authentication is on the Phase 3 roadmap.
honestly this looks like a solid base, but one thing that would really help is adding user authentication with JWT tokens right now it seems like anyone could post data to the api without restrictions maybe add endpoints for sign up and login so each person only sees their own mood sleep and exercise entries
@melisrtekimejb
Great point! You're absolutely right. JWT authentication is on the Phase 3 roadmap.
Phase 2 (current): Core API + MongoDB
Phase 3 (next): User auth + JWT tokens + secure endpoints
Phase 4: N8N automation + workflows
Thanks for the feedback! This validates the direction we're heading.