CognifyWell is a gamified mental health tracker that empowers users to build healthy habits, reflect through journaling, and track emotional patterns — all while earning XP, leveling up, unlocking achievements, and building community support.
Built with React.js, Node.js, MongoDB. Designed to make mental wellness engaging and sustainable.
- Daily Journaling — Track your mood and write reflections.
- Mood & Habit Analytics — Visualize trends and emotional patterns.
- Gamification — Earn XP, collect coins, level up, and unlock achievements.
- Virtual Pets — Equip pets that give XP bonuses and motivate consistency.
- Challenges — Join or create challenges to build habits with friends.
- Social Layer — Add friends, view entries, and cheer each other on.
- Store System — Spend earned coins to unlock pets and profile customizations.
| Frontend | Backend | Database | Auth |
|---|---|---|---|
| React.js | Node.js + Express.js | MongoDB | JWT-based |
cognifywell/
├── frontend/ # React frontend
│ ├── components/ # UI components
│ ├── pages/ # Routes like Dashboard, Journal, etc.
│ └── context/ # Global Toasts, Auth, etc.
├── backend/ # Express backend
│ ├── db.js # MongoDB schemas
│ ├── routes/ # API endpoints
│ └── middleware.js # Auth, validation
git clone https://github.com/yourusername/cognifywell.git
cd gamified-mental-tracker# Backend
cd backend
npm install
# Frontend
cd ../frontend
npm installCreate a .env file in the backend/ directory:
PORT=3000
MONGO_URI="make your own database"
JWT_SECRET="123456"# Backend
cd backend
npm run dev
# Frontend
cd ../frontend
npm startWe’re currently building this as a focused project, but feel free to fork and play with it. Contributions coming soon.
This project is under the MIT License.
See LICENSE file for details.