chegeanthony / basic-Flask-API

A typical Flask API

Home Page:https://flaskapitemplate.azurewebsites.net

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

CircleCI Build, Test and Deploy to Azure

Initial Set Up Instructions

1 .Clone the git repo and create an environment

Windows

git clone https://github.com/Dev-Elie/Flask-API-boilerplate.git Flask-API
cd Flask-API
py -3 -m venv venv

macOS/Linux

git clone https://github.com/Dev-Elie/Flask-API-boilerplate.git Flask-API
cd Flask-API
python3 -m venv venv

2 .Activate the environment

Windows

venv\Scripts\activate

macOS/Linux

. venv/bin/activate or source venv/bin/activate

3 .Install the requirements

Applies for windows/macOS/Linux

pip install -r requirements.txt

4. Run the application

python wsgi.py

5. Running tests

pytest -v

About

A typical Flask API

https://flaskapitemplate.azurewebsites.net

License:MIT License


Languages

Language:Python 100.0%