Skip to content

Latest commit

 

History

History
80 lines (53 loc) · 1.89 KB

README.md

File metadata and controls

80 lines (53 loc) · 1.89 KB

Mental Health Matters is a web application that is used to help people reach out to medical professionals and get help for their mental health issues. It is a platform that allows people to book an appointment with them and take rottenly checkups. It also allows people to get help from the professionals and get the best treatment for their mental health issues, based on their symptoms and survey data.

Tech Stack

Frontend

Backend

Database

Authentication

Prerequisites

Installation

  1. Clone the repository
git clone https://github.com/VarunSAthreya/mental-health-matters.git
  1. Install dependencies
pnpm install
  1. Create a .env file in the root directory and add the following environment variables, or copy the contents of .env.example to .env
# Database
DATABASE_URL=postgres://<username>:<password>@localhost:5432/<database_name>
# Next Auth
NEXTAUTH_SECRET=<secret>
NEXTAUTH_URL=<URL>

# Next Auth Discord and Github Provider
DISCORD_CLIENT_ID=<client_id>
DISCORD_CLIENT_SECRET=<client_secret>

GITHUB_CLIENT_ID=<client_id>
GITHUB_CLIENT_SECRET=<client_secret>

# Razorpay
NEXT_PUBLIC_RAZORPAY_KEY_ID=<key_id>
NEXT_PUBLIC_RAZORPAY_KEY_SECRET=<key_secret>
  1. Run the development server
pnpm dev
  1. Open http://localhost:3000 with your browser to see the result.

  2. Build the application

pnpm build