- Pooja Mule
- Chetan Jain
- Sachin Devangan
- Chandra Vamsi Reddy
https://github.com/chetan-plrch/CS546-Final-Project
- In today’s world, mental health issues faced are more than ever. Our website aims towards addressing these issues and giving its users the best help possible with their issues like depression, anxiety, etc.,
- The website allows users to be completely anonymous if they wish and chat with professionals about their feelings and the issues that they are facing in order to get the help that they need.
- Users are also shown a feed that consists of posts, pictures and quotes which are motivational and happy in nature to help them uplift their mental state. It is completely up to the users if they want to continue talking to the experts.
Prefer using private browsing modes such as incognito
for chrome
since the browser plugins cause some unusual intermittent behaviour due to their features
- Download the repo from the git repo link https://github.com/chetan-plrch/CS546-Final-Project/tree/develop
- Please use branch
develop
to clone the repo - To download all the dependencies, go to project path and run
npm install
- To add data for testing purposes to the database, run
npm run seed
- To run the application
1. On client side, at current path, runnpm start
2. To start the server, runnpm run server
at
the same location in a new terminal
NOTE - If you are facing errors in running client side script on macOS withnpm start
then usenpm start-mac
instead
- Adding records to DB through seed file and dropping of database sometimes causes unexpected cookie issues. It is recommented that you clear cookies in such cases. Follow these steps to clear cookies in browser
1. Right click in the browser and open inspect menu
2. Go to tabApplication
3. Clear cookies from the option provided in this tab Postman Testing Note
This application uses a key calledtoken
which stores a JWT token value. To make any authorized requests first, make sure you make the login request first so this cookie gets set. It is not required to send this token in any of the apis- User is directed to
login
page when the application is opened in the browser. This page provides a link toregister
if you are a new user
-
Homepage
1. Once user logs in, they are directed to the home page onFeeds
tab
2. This tab consists of a feed which comprises of motivational posts, quotes, pictures
3. There is also a tab to navigate to reviews given to different professionals by different users
4. Only the reviews which are public are displayed in theReviews
tab -
Roles and categories
1.Users can sign up as either listeners (professional helpers) or advice seekers. The sign up flows will be designed accordingly. -
Search, list, and filter users
1.From the home page, users can navigate to the users page.
A list of active users will be displayed.
Users can search and filter this list. -
Show user's connections and chats
From the home page, users can navigate to connections list.
This will show a list of all active connections of users.
Also, a chat list with all connections will be shown.
Chats can be searched through. -
Real time chat feature
Users can chat with professionals.
Messages will be sent in real time.
Users can view all the active chats in pop up windows on all screens.
The chat will have basic profanity checks. -
User Feedback
After every session ends which in our case its5 messages
which triggers the an optional feedback form which can be either public or private.
Users can fill anonymous surveys within the website to gather feedback about their mental health experiences.
This would just be maintained in the database for reference purposes.
This could help the site identify areas where it could be improved and provide valuable insights into user needs. -
Block/Unblock users
Users can block someone from texting them if they want.
The blocked users will not be shown to the current user anymore.
Users can view a list of blocked users.
They can unblock a user if they wish -
User Profile
Personal details such as username, email, profile picture and others will be displayed.
Users can edit appropriate details. -
Deactivate account
Users can choose to delete their account.
Users can specify whether they want to keep their information with the site or delete it. This makes the site more reliable.
-
Journal
Users can maintain a journal.
They can make notes of how they feel every time they interact with a professional.
This journal will be maintained as a notebook which can be navigated to from the home screen. -
Like, comment, and save
Users can like/comment on the posts on feed.
They can also save the post. -
Archive and unarchive chat
Users can choose to archive or unarchive a chat at any point.
In the root - users.js