Fitraat is a 40-day marathon program designed to help individuals overcome addiction to adult content (porn). The app provides daily tasks, an emergency help section for uncontrollable moments, and community support. Users can also access informative blogs to aid their recovery journey.
-
Daily Progress Steps
Users complete four types of tasks each day for 40 days:- Videos
- Kegel exercises
- Quizzes
- Blogs
-
Community Support
- Logged-in users can post questions and provide answers through comments in the feed section.
- Guests (non-logged-in users) can only view the feed but cannot interact.
-
Emergency Help
- A dedicated section for moments of intense cravings or lack of control.
- Includes videos, quotes, advice, and achievements for successfully overcoming such moments.
-
Free and Pro Access
- Free users have access to the system for 3 days.
- Paid users gain Pro membership via SSL Commerz integration.
-
Blogs
- Accessible to all users.
- Features answers to common myths and questions related to addiction and recovery.
- Authorization Token:
Bearer ${token}
- Find All:
/api/free-blogs[GET] - Find One:
/api/free-blogs/:id[GET]
- Find All:
/api/blogs[GET] - Find One:
/api/blogs/:id[GET]
- Find All:
/api/emergencies[GET] - Find One:
/api/emergencies/:id[GET]
- Find All:
/api/kagel-times[GET] - Find One:
/api/kagel-times/:id[GET]
- Find All:
/api/kegel[GET] - Find One:
/api/kegel/:id[GET]
- Find All:
/api/posts[GET] - Find One:
/api/posts/:id[GET]
- Create:
/api/post-comments[POST] - Find All:
/api/post-comments[GET] - Find One:
/api/post-comments/:id[GET] - Delete:
/api/post-comments/:id[DELETE]
- Find All:
/api/quiz-contants[GET] - Find One:
/api/quiz-contants/:id[GET]
- Find All:
/api/subscribers[GET] - Find One:
/api/subscribers/:id[GET] - Create:
/api/subscribers[POST] - Delete:
/api/subscribers/:id[DELETE]
- Find All:
/api/videos[GET] - Find One:
/api/videos/:id[GET]
- Find All:
/api/days[GET] - Find One:
/api/days/:id[GET] - Create:
/api/days[POST] - Delete:
/api/days/:id[DELETE]
Ensure you have the following installed:
- Node.js (LTS version recommended)
- npm
- PostgreSQL (if using a local database)
NEXT_PUBLIC_BASE_URL="you backend setup"
- Clone the Repository
git clone <gh repo clone mohammadShamimReza/Fitraat-Backend> cd <Cloned repo> npm install npm run dev