Skip to content

Ment-Ally project is a part of the Hackodisha Hackathon (Winner as a beginner team)

Notifications You must be signed in to change notification settings

Pavitra554/Ment-Ally

Β 
Β 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

18 Commits
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

Ment-Ally Logo

Ment-Ally

The problem it solves:relaxed:

Nowadays, taking care of mental health is very essential. It aims to help people in dealing with mental health-related issues like stress, anxiety, depression, etc. You can’t tell whether a person is mentally dealing with stress or pressure by looking at that person. This can be sometimes very risky, leading to suicide. The study supports that in most cases depression and mental pressure are the main reasons for suicide. In the current pandemic situation, due to lockdown, we have witnessed increasing cases of suicide, anxiety, depression. So, we came up with β€œMent-Ally” to help people to gain mental peace and stability. It has helpful blogs, a Meditation guide with relaxing music, Yoga, and BMI Tracker. A person can use these to keep himself/herself occupied when feeling sick mentally.

How it looks:star_struck:

Home Section

Home

Blog Section

Blog

Meditation Section

Blog

Yoga Section

Blog

Prerequisites πŸ‘¨β€πŸ’»

Install Node JS

Refer to https://nodejs.org/en/ to install nodejs

Install create-react-app

Install create-react-app npm package globally. This will help to easily run the project and also build the source files easily. Use the following command to install create-react-app

npm install -g create-react-app

Cloning and Running the Application in local πŸ’»

Clone the project in localhost

git clone https://github.com/Aniket762/playground.git

Install all the npm packages. Go into the web folder and type the following command to install all npm packages

npm install

In order to run the application in development mode type the following command

npm start

The Application Runs on localhost:3000

To spin up the backend server

Navigate to the main project folder in a seperate terminal. Then install all npm packages

npm install 

If you don't have nodemon globally installed on your system, install it so the server can autorefresh

npm install -g nodemon

Now it's time to spin up the backend server. Run the lines

npm run dev

If you get an error immediately, don't worry. The final step is to connect to the MongoDB database.

Note: The Server Runs on localhost:8080

Connecting to the Database

Spin up your cluster in MongoDB and replace your connection with URI in .env If you face any problems, refer to the MongoDB website.

Connecting to the Database if you haven't used MongoDB Atlas before

Install the MongoDB Node.js Driver with the following command:

npm install mongodb

Set up a MongoDB Atlas Database by following this short MongoDB setup video till the 3:20 mark. Stop after that mark!

How we built it πŸ§ πŸ’»

We used React.js in the frontend and Node.js in the backend and MongoDB as our database. We have used Lottie animation and Framer motion for some components like buttons and illustrations for our website. We have created an API using Express and this API fetches data from our database in the backend for contents in the blogs section. Heroku app is used for hosting the backend. We have used Mongoose which connects our database to Express. We have used firebase for hosting the frontend and then we have connected it to our custom domain.

Challenges we ran into πŸ™

We faced numerous challenges throughout the journey. First, we have decided to work on VS-Code Live share. But we all were new to it. Sometimes it is the connection issues and sometimes it’s our lack of experience in Live Share feature. It took a lot of time to overcome this issue. After this we have faced issues while writing codes for responsive design. Sometimes the components were distorted and moved from their places. It took time to place them in their right position. Placing the elements in their position and designing for responsiveness was our big challenge. The next challenge which we have faced is domain configuration. This is the first time we are hosting our project on xyz domain. We don’t have any previous experience. We have hosted our project on GitHub pages, but this was completely different. We have to go through the documentation and follow the steps mentioned according to the project. But finally, we all can able to figure this out and did this. Along the process, we all have learned how to configure your project in a custom domain.

Accomplishments that we're proud of 😎

The biggest accomplishment for us was that we learned so many things just in 36 hours. We worked with VS-Code Live share, then we have tried Replit. We were able to overcome all the challenges and were able to create and deploy a completely functional web app the way we have envisioned. Even though one of our teammates was sick and another one was out of town, we didn’t lose hope and stayed up all night. It was tiring but all was worth it. We all have tried our best to contribute to this project without thinking about in which condition we are right now. Our team is most proud of the fact that this web app will be able to help many persons across the globe to deal with mental health-related issues.

What we learned πŸ€“

We are a group of very enthusiastic developers who are open to learning and experimenting with new techs. The thing which is common among us is that we love hackathons 🀩. In this hackathon we learnt how to use VS-Code Liveshare smoothly. We have created blogs and with the help of API we fetched data from our database. We also have learnt how to connect and configure DNS of any custom domain to firebase project which was something very new for us.

Built With πŸ› οΈ

Team:sunglasses:


Aditya Arpan

Kunal Patel

Pavitra Behara

Ankit Singh

Made with πŸ’ by Team Ment-Ally .

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 59.7%
  • CSS 37.3%
  • HTML 3.0%