DentAi is a mobile application that aims to provide users with oral health-related information on a mobile device.
-
Clone the project:
git clone https://github.com/BeytullahYayla/DentAI.git
-
Navigate to the project directory:
cd DenAI
-
Create and activate your python conda virtual environment
conda create --name your_environment_name python=3.9 conda activate your_environment_name
-
Install the required dependencies for backend server:
cd backend pip install -r requirements.txt
-
Install the required dependencies for mobile client:
cd .. cd .. cd frontend npm install
To run the backend server , first execute the following command:
cd backend/api
uvicorn main:app --reload
After running to backend server we need to tunnellise localhost:8000 port using ngrok server with following command.
ngrok http localhost:8000
Go inside the constant.js file in frontend/components folder and update API_URL variable using given tunelled api by ngrok server. Example:
export const API_URL = 'https://a708-185-252-41-74.ngrok-free.app';
Lastly, we're ready to run mobile application
cd frontend
npm start
Scan given QR Code by React-Native expo application and start using our mobile app :)