Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
The diff you're trying to view is too large. We only load the first 3000 changed files.
Binary file added .DS_Store
Binary file not shown.
56 changes: 26 additions & 30 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,40 +1,36 @@

# Project Title

MedBot is a medical chatbot!


This is a [Next.js](https://nextjs.org) project bootstrapped with [`create-next-app`](https://nextjs.org/docs/app/api-reference/cli/create-next-app).
## Installation

## Getting Started

First, run the development server:
1. Create a Environment

```bash
npm run dev
# or
yarn dev
# or
pnpm dev
# or
bun dev
python -m venv medbot
source medbot/bin/activate
```
2. Install required packages
```bash
pip install -r requirements.txt
```
3. Start Local database with MongoDBCompass and select Database.json file from data directory.

Open [http://localhost:3000](http://localhost:3000) with your browser to see the result.

You can start editing the page by modifying `app/page.tsx`. The page auto-updates as you edit the file.

This project uses [`next/font`](https://nextjs.org/docs/app/building-your-application/optimizing/fonts) to automatically optimize and load [Geist](https://vercel.com/font), a new font family for Vercel.

## Learn More

To learn more about Next.js, take a look at the following resources:

- [Next.js Documentation](https://nextjs.org/docs) - learn about Next.js features and API.
- [Learn Next.js](https://nextjs.org/learn) - an interactive Next.js tutorial.

You can check out [the Next.js GitHub repository](https://github.com/vercel/next.js) - your feedback and contributions are welcome!

## Deploy on Vercel

The easiest way to deploy your Next.js app is to use the [Vercel Platform](https://vercel.com/new?utm_medium=default-template&filter=next.js&utm_source=create-next-app&utm_campaign=create-next-app-readme) from the creators of Next.js.
4. Install ollama and download the LLM you want to use.

Check out our [Next.js deployment documentation](https://nextjs.org/docs/app/building-your-application/deploying) for more details.
4. Start backend
```bash
uvicorn main:app --reload
```
5. Start Frontend
```bash
cd frontend
npm install
npm run dev
```
6. Open localhost with your browser to see the result.
```bash
http://localhost:5173
```
Binary file added backend/.DS_Store
Binary file not shown.
Binary file added backend/__pycache__/db.cpython-311.pyc
Binary file not shown.
Binary file added backend/__pycache__/db.cpython-312.pyc
Binary file not shown.
Binary file added backend/__pycache__/doctor_utils.cpython-311.pyc
Binary file not shown.
Binary file added backend/__pycache__/doctor_utils.cpython-312.pyc
Binary file not shown.
Binary file added backend/__pycache__/main.cpython-311.pyc
Binary file not shown.
Binary file added backend/__pycache__/main.cpython-312.pyc
Binary file not shown.
Binary file added backend/data/.DS_Store
Binary file not shown.
Loading