This is a mental health-focused website designed to provide users with essential features such as login and signup functionality, a mental health quiz page, a contact page, and a chat application. The platform aims to offer support and information to promote mental well-being.
- User Authentication: Secure login and signup functionalities for users.
- Quiz Page: A mental health quiz to provide insights and recommendations.
- Contact Page: A form for users to reach out for support or inquiries.
- Chat Application: Real-time chat functionality for users to connect and communicate.
-
Frontend:
- HTML
- CSS
- JavaScript
- Bootstrap
-
Backend:
- Node.js / Express.js
-
Database:
- MongoDB
-
Real-Time Communication:
- Socket.IO (for chat functionality)
- Clone the repository:
git clone https://github.com/K-SAHASRA/Mental-health-website.git cd Mental-health-website
Install dependencies: npm install
Configure environment variables: Create a .env file and add your environment-specific variables (e.g., database URL, chat server configurations).
Start the server: npm start
Access the website: Open your browser and navigate to http://localhost:3000 (or the specified port).
File Structure /public: Static files (CSS, JavaScript, images). /views: HTML or EJS templates for the frontend. /routes: Backend routes for handling requests. /models: Database models (if using a database). /controllers: Logic for handling user requests and responses. app.js/server.js: Entry point of the application. Usage Sign Up: Create an account to access the features. Take a Quiz: Get insights into your mental health. Contact Us: Reach out via the contact form for assistance or queries. Chat: Use the real-time chat feature to communicate. Contribution Feel free to fork this repository, make enhancements, and submit a pull request. Your contributions are welcome!
License This project is licensed under the MIT License.