Open-Source App to take care of Mental Health: An initiative by IIT Madras and Tamil Nadu Government.
This project aims to provide a platform for students, teachers, psychiatrists, and health administrators to monitor, intervene, and improve the mental health of students. It includes functionalities like red flag identification, psychiatric consultation, referrals, and training modules for teachers and psychiatrists.
For an overview of the project, please go through the Mental Health Application.IITM.pdf
file in the repository.
Figma file link for workflow: https://www.figma.com/design/7deDsVo0b5PB1o6NoQVY9u/TNMSS?node-id=64-441&t=qO40qrH0Plsawo9x-1
We are participating in Hacktoberfest and welcome contributions to make this project even more impactful! To contribute:
hacktoberfest
, good first issue
, or help wanted
to get started.For more details, check out our CONTRIBUTING.md.
To get started with the project:
Fork the repository.
Clone your fork to your local machine:
git clone https://github.com/Aadharcode/Mental-Health-TN-Gov.git
Set up your environment using the instructions below.
Navigate to the backend folder:
cd backend
Install the necessary dependencies:
npm install
Create a folder named "config" in the home directory and put your .env file containing various sensitive data into it
Start the backend server:
npm start
If you have cloned a Flutter project from GitHub, there are a few important steps you need to take to install the project's dependencies and prepare it to run. Here are the steps you should follow:
After cloning the project, use the terminal to navigate to the frontend directory:
cd frontend
Run the following command to install all dependencies listed in pubspec.yaml
:
flutter pub get
This will download and install all the required packages that the project depends on.
If the project involves platform-specific plugins, such as Android or iOS dependencies, you should run the following commands to ensure everything is set up:
For iOS:
If the project has iOS components, navigate to the ios
folder and run pod install
:
cd ios
pod install
cd ..
For Android:
Generally, running flutter pub get
is enough. However, make sure that your Android Studio is set up with the necessary SDK versions.
If you want to update all dependencies to their latest versions, you can use:
flutter pub upgrade
This will attempt to get the latest compatible versions of each package.
This will help ensure your environment is properly set up to run Flutter projects:
flutter doctor
Fix any issues that are mentioned. This step ensures your environment is configured with all necessary tools and settings.
Finally, to run the project, use:
flutter run
If you have multiple devices/emulators connected, Flutter will ask which one to use. You can also specify the target device:
flutter run -d chrome # For web
flutter run -d macos # For macOS
flutter run -d <device_id> # For an Android or iOS device/emulator
Navigate to the frontend directory:
cd frontend
Install the dependencies:
flutter pub get
For iOS dependencies (if applicable):
cd ios
pod install
cd ..
Verify setup:
flutter doctor
Run the project:
flutter run
After following these steps, your project should be ready to run and test on the appropriate devices.
This project is licensed under the MIT License - see the LICENSE file for details.
If you have any questions or need more information, feel free to open an issue or reach out to the maintainers.