This is a full-stack application for connecting patients with doctors in Pakistan, featuring AI-powered search and assistance.
- Frontend: Next.js (App Router, TypeScript, Tailwind CSS)
- Backend: FastAPI (Python, SQLAlchemy, Pydantic)
- Database: PostgreSQL
- Caching/Rate Limiting: Redis
├── frontend/ # Next.js application
│ ├── src/app/ # Pages and layouts
│ ├── src/components/ # Reusable UI components
│ └── src/lib/ # API client and utilities
├── backend/ # FastAPI application
│ ├── app/api/ # API endpoints
│ ├── app/core/ # Configuration and security
│ ├── app/models/ # Database models
│ ├── app/schemas/ # Pydantic validation schemas
│ └── app/services/ # Business logic
├── docs/ # Project documentation
└── docker-compose.yml # Development environment orchestration
- Clone the repository
- Setup Backend:
cd backend python -m venv venv source venv/bin/activate pip install -r requirements.txt
- Setup Frontend:
cd frontend npm install - Environment Variables:
Copy
.env.exampleto.envin the root and fill in the values.
docker-compose up --build