- git clone the repo to system
- Configure
mongoConnection.js
file - run
npm install
- run
npm run seed
to seed the database - run npm start
- 1 Username: user01 Password: helloo12
- 2 Username: user03 Password: friends1234
- 3 Username: user02 Password: true1234
- Added 20 users
- Added 20 diseases
- Disease names in the seeded file are Tuberculosis, Diabetes, Epilepsy, Skin Cancer, ACL Injury, Hypertension, Heart Disease, Asthma, Gout, Hyperlipidemia, Malaria, Chicken pox, Covid 19, Alzheimer's, Small Pox, Lung Cancer, Cirrhosis, Polio, Chronic Kidney Disease, Cystic Fibrosis
- We have added 20 posts, 42 comments, several thumbs-up and thumbs-down for the first four forums.
- The disease names of the forums with seeded posts and comments are Tuberculosis, Diabetes, Epilepsy, Skin Cancer.
The purpose of the website is to allow common diseased people to communicate on a public forum and share their experience with people suffering from the same disease. Many people suffering with a disease need someone, who has gone through the disease and its treatment, to communicate and know their experience. That way the patient will have someone to motivate and guide them through the procedure. Usually doctors guide the patients but the way an experienced patient motivates someone and gives strength is different. The Website will allow the user to sign up and create their profile. The User can search for a particular disease and get the relevant information for that disease. Information page will provide the basic info on the disease and the medicines used or prescribed by the top Doctors. There will be a forum for each disease and users can go through the posts and look at the comments of the people in the forum. Also the user can post the questions and doubts they have on the forum. They can like and dislike a post as well.
The landing page has a search box for disease where user can search for a disease and get the information regarding that disease. It also has a search box for search profile where user can search other user's profile by entering their username. The page also has links to sign up and login if the user is not logged in. The user can view their profile if they are logged in.
The sign up form collects user's information such as profile picture, their full name, contact information, location, gender and date of birth. User can register themselves using sign up form.
The user can search for the disease and get the information regarding the disease.
The disease page contains disease information such as common medicines, suggestions and symptoms. Users Can go to that disease forum using this page and post or look at other peoples comment.
The profile page displays user's information such as user's name, location, gender, contact and their biography.
The profile page also has an edit button where user's can edit their information and update it for their profile.
Each disease has its own forum where users can post regarding the disease. Each post will have a title, content and also username of the user who posted it.
Users can like and dislike other user's posts in the forum.
Users can comment on the posts in the forum.
On landing page user can enter other user's username in the search profile box and search for thier profile.
The application also diplays advrtisements on the disease Page.
In the forum, user can enter search terms in the search posts box on the top-left corner and get the post they are looking for.
User's can like and dislike other user's comments on a post in forum.