An intelligent maternal healthcare assistant for expecting mothers, offering personalized tracking, guidance, and support throughout pregnancy and postpartum.
- Personalized Dashboard: Get a quick overview of your health metrics and upcoming reminders.
- Symptom Tracker: Log and monitor your symptoms, with suggestions to manage them.
- Nutrition Guide: Receive personalized meal plans and nutritional advice.
- Exercise Tracker: Follow recommended exercises tailored to your pregnancy stage.
- Mental Health Support: Access tools like a depression screening quiz and a weekly mood tracker.
- Labor Preparation: Get ready for labor with a comprehensive checklist and resources.
- Maternal Health Chatbot: Get instant answers to your maternal health questions from our AI-powered chatbot.
- Postpartum Care: Continue to receive support and guidance after giving birth.
- Framework: Next.js
- Language: TypeScript
- Styling: Tailwind CSS
- ORM: Prisma
- Authentication: NextAuth.js
- Database: PostgreSQL (or your chosen database with Prisma)
- UI Components: Shadcn UI, Recharts for charts.
Follow these instructions to set up and run the project locally.
- Node.js (version 20.x or higher)
- npm or yarn
- A running PostgreSQL instance (or other database compatible with Prisma).
-
Clone the repository:
git clone https://github.com/jayan110105/mom_care.git cd mom_care
-
Install dependencies:
npm install
-
Set up environment variables: Create a
.env
file in the root of the project and add the following variables. See.env.example
for a template.DATABASE_URL="your_database_connection_string" NEXTAUTH_URL="http://localhost:3000" NEXTAUTH_SECRET="your_nextauth_secret" # Add other environment variables if any (e.g., for APIs)
-
Apply database migrations:
npx prisma migrate dev
-
Run the development server:
npm run dev
The application should now be running at http://localhost:3000.