StrokePrediction is a backend service designed to predict the likelihood of a stroke based on user-provided health data. It leverages machine learning models and provides a RESTful API for integration with other applications.
-
Clone the repository:
git clone https://github.com/yourusername/StrokeBackend.git cd StrokeBackend -
Create and activate a virtual environment:
python -m venv venv source venv/bin/activate # On Windows: venv\Scripts\activate
-
Install dependencies:
pip install -r requirements.txt
-
Start the backend server:
uvicorn main:app --reload
-
Access Docs:
http://127.0.0.1:8000/docs -
Access the API at
http://127.0.0.1:8000/. -
Use tools like Postman or cURL to send requests to the API.
Feel free to fork the repository and submit pull requests for improvements or bug fixes.
This project is licensed under the MIT License.