Checking API…
Nafs
Mobile backend for prayer tracking, dhikr, journals, habits, challenges, and Qur’an progress — Node.js + MySQL REST APIs ready for the Nafs mobile client.
Demo credentials
Use these after npm run db:setup.
email: demo@nafs.app password: Password123!
API surface
Auth
Register, login, OTP verify, password reset
Onboarding
Steps + complete profile goals
Home
Dashboard aggregate for today
Prayer
Daily logs + monthly calendar
Dhikr
Presets, sessions, counters
Journal
Mood entries CRUD
Habits
Create, log, streaks
Challenges
Join + complete daily tasks
Quick login test
curl -s http://127.0.0.1:43125/api/v1/auth/login \
-H 'Content-Type: application/json' \
-d '{"email":"demo@nafs.app","password":"Password123!"}'