Wellspring: (all in one plartform for mental well being, learning and understanding mental heatlh issues)
Wellspring is a comprehensive mental health and wellness platform designed to empower users on their journey to better mental health. The platform offers interactive games, self-assessments, mood and activity tracking, expert counselling recommendations, and a user-friendly dashboard. With a modern, responsive UI and robust authentication, Wellspring provides a safe and engaging environment for users to understand, track, and improve their mental well-being.
User Authentication Secure login, signup, and session management with JWT.
Self-Assessments Scientifically-backed assessments for anxiety, depression, OCD, PTSD, and more.
Mood & Activity Tracking Log daily moods and activities, visualize trends, and gain insights.
Interactive Games Cognitive games like Flappy Bird to assess and improve mental skills.
Personalized Dashboard View recent scores, assessment results, and progress.
Personalized AI Counselor AI-driven counselling offering personalized mental health insights, coping strategies, and guidance.
Doctor Recommendation Get AI-powered recommendations for mental health professionals based on your needs. (Powered by Lama AI)
Counsellor Directory Browse and filter a list of expert psychiatrists and counsellors.
Feedback & Reports Receive detailed cognitive reports and submit feedback after games and assessments.
Modern UI Responsive, accessible, and visually appealing interface with card layouts, gradients, and icons.
Secure API Integration All sensitive operations are protected with JWT-based authentication.
-
React Router: For declarative routing in React applications.
-
Tailwind CSS: A utility-first CSS framework for designing responsive and modern UI components.
-
Express.js: For creating and managing backend services and APIs.
-
JSON Web Token (JWT): To secure user authentication and authorization.
-
Axios: For making HTTP requests from the frontend to the backend.
-
Lama AI: Powers intelligent doctor recommendations and cognitive insights.
Clone the repository:
git clone <repo link>
cd WellSpringcd Frontend
npm install
npm startcd Backend
npm install
npm startWellSpring/
βββ Backend/
βββ Frontend/
Backend/
βββ controller/ # Business logic for each resource
β βββ AiCounselorController.js
β βββ CommunityController.js
β βββ doctorController.js
β βββ moodAndActivityController.js
β βββ gameController.js
β βββ userController.js
β βββ researchController.js
β βββ assesmentController.js
βββ model/ # Mongoose schemas/models
β βββ models.js
βββ routes/ # API route definitions
β βββ router.js
βββ middlewares/ # Express middlewares (auth, error, etc.)
βββ prisma/ # Prisma ORM (Postgres) schema and migrations
β βββ schema.prisma
β βββ migrations/
βββ src/ # (May contain additional Express app logic)
β βββ app.js
β βββ routes/
βββ db.js # Database connection setup
βββ index.js # Main server entry point
βββ package.json
βββ package-lock.json
Frontend/
βββ src/
β βββ Components/ # Reusable UI components (Navbar, Charts, etc.)
β βββ pages/
β β βββ AssessmentPages/ # All assessment flows (Anxiety, Depression, etc.)
β β βββ CommunityPages/ # Community, GiveFeedback, Counsellor, etc.
β β βββ FooterPages/ # Footer, Terms, Privacy
β β βββ HeaderPages/ # Header, Login, Signup, Resources, About, etc.
β β βββ GamesPages/ # Game UIs (FlappyBird, MemoryMatch, etc.)
β β βββ KeyFeaturePages/ # MoodTracking, ActivityLogging, etc.
β β βββ ConditionPages/ # Info pages for conditions (Anxiety, Depression, etc.)
β β βββ UserDashboard.js # Main dashboard
β βββ Allcss/ # CSS files for various pages
β βββ App.js # Main React app entry
β βββ App.css
β βββ index.js
β βββ index.css
β βββ UserContext.js # React context for user/session
β βββ IndexPage.js # Main landing page
β βββ toastify-custom.css
βββ public/ # Static assets
βββ package.json
βββ package-lock.json
βββ tailwind.config.js
βββ postcss.config.js
βββ README.md
-
Mental health assesments (various)
-
On time Mood tracking.
-
Daily Activity Log in. ( what type of activity doing, making a log of this)
-
Account for registered user.
-
User dashboard along with the records of mental health assments, daily log activity and Mood tracking records. and finally Created daily routine using AI counselor help (explained below)
-
AI powered counselor (with trained on localized dataset (specially bangladeshi educated young generation and their sentiments)
-
AI counselor chatting with the mental health asssements results (any particular test, or one or two tests combined or all tests result), taken previously that are stored in the logged in users dashboard.
-
Voice chatting with the counselor.
-
Including mood and activity tracking data in the chat (counseling too).
-
Creating a routine that would prevent mental health issue also while considering daily activity and other stuff that would maximuzize productivity.
-
Learn more about Mental health issues, (resourses are given)
-
Resources (artical, youtube videos)
-
Connect with Experts ( nearby doctors list filtering for particular mental heatlth usues).
-
Entertaintemnt selection for mood refreshment (such as movie recommandation based on mood and stress level and daily routine and work pressure) .
-
Research and developement (Using the system to collect research data on this field for mental health).
-
Mental health accelerating games selection (such as flippy bird, obsessive and repeatitive, puzzle matching, memory match, brain teasers) and a feedback system to collect data based games performance (to determine patients, focus, concentration, perseverance, other stuff of a person while doing an acitivity).
-
Take feedback of the system from user to determine the feasibility of the system in each aspect.
-
Prompt engineering (using preamble instruction) to adjust AI counselor , so that it gives response according to (localized data perspective) while also not vioulating any medical guidlines.
-
For each user account keep all of its data stored in dataset, such as assememnts results, mood tracking results, reasearch and developing reserch, routine etc.
-
Do prompt engeneering, in such way so that particular data that was marked is included in the chant instructions.
-
So far, try best to make the project in O(n) complexity
The perfect way to use the system, is to use it for around 3-7 days. Regularly store mood tracking data, activity login, and take some assements. Also I have time play games and store game based data (focus, attention, frustation patients and other stuff. This way the AI counselor will have perfect amount of data on the user to work on and determine from the persons data that what could cause mental health, if have one or more
Un registered Users
- Can take assmements and get immidiate results, how ever cannot store anything.
- Can play games, but cannot take participate in the game based survey
- Visit resources, connect with experts page.
- Participate in Research and Developement (using gmail only, not logged in or regester)
Registered Users
- Can do everything and use everything.
- Cannot modify dataset or admin level access.
Admin
- Can view research dataset.
- Can view feedback of the system.
- Can view number of users.
- Cannot breake any ethiccs (such as viewing users mental health data and chat history)




















