dikaizm / fisio-cv

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Flask API Setup

This repository contains a simple Python Flask API. Follow the steps below to set up the project and run the API.

Prerequisites

  • Python 3.x installed on your machine
  • Git installed (optional, if you're cloning the repository)

1. Clone the repository

git clone <repository-url>
cd <repository-directory>

2. Open app directory

cd app

3. Setup virtual environment

# On Unix or MacOS
python3 -m venv venv

# On Windows
python -m venv venv

4. Activate virtual environment

# On Unix or MacOS
source venv/bin/activate

# On Windows
.\venv\Scripts\activate

5. Install dependencies

pip install -r requirements.txt

6. Run the app

flask run

# or

# On Unix or MacOS
python3 app.py

# On Windows
python app.py

The app should now be running. Open http://localhost:8010 in browser to access it.

About


Languages

Language:Python 59.5%Language:Jupyter Notebook 28.9%Language:HTML 6.1%Language:JavaScript 5.5%