- Create a virtual environment:
python3 -m venv venv
- Create the APP_SETTINGS_MODULE var env (use to configure the app env)
export APP_SETTINGS_MODULE=config.dev
set this in you Linux terminal. - Activate the virtual environment
source venv/bin/activate
- Install the requirements project:
pip install -r requirements.txt
- Start the Flask server:
flask --app entrypoint.py run
- Make request GET & POST to
http://localhost:5000
Remember configure Google Console to get permissions before to can use this API: Google Calendar API