This repository contains a simple Python Flask API. Follow the steps below to set up the project and run the API.
- Python 3.x installed on your machine
- Git installed (optional, if you're cloning the repository)
git clone <repository-url>
cd <repository-directory>
cd app
# On Unix or MacOS
python3 -m venv venv
# On Windows
python -m venv venv
# On Unix or MacOS
source venv/bin/activate
# On Windows
.\venv\Scripts\activate
pip install -r requirements.txt
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.