Skip to content
This repository has been archived by the owner on Oct 19, 2022. It is now read-only.
/ Flask-Consul-Jwt Public archive

Base for micro service using Consul (loading configuration & Registering) + JWT for authentication

Notifications You must be signed in to change notification settings

FriggaHel/Flask-Consul-Jwt

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

How to install modules dependencies and make things work !

  • virtualenv -p `which python3` venv

  • . ./venv/bin/activate

  • pip install -r requirements.txt

  • python ./app.py

  • You can override some settings through the command-line

    • EXPOSED_ADDRESS: Address to register to consul for health check and remote services Default: 127.0.0.1
    • CONSUL_ADDRESS: Address used to contact consul Agent Default: 127.0.0.1
    • APP_NAME: Name of service Default: app

Stack

  • Flask
  • Flask-Cors
  • Flask-SQLAlchemy
  • Flask-JWT
  • SQLAlchemy
  • mysqlclient
  • Tornado
  • python-consul

About

Base for micro service using Consul (loading configuration & Registering) + JWT for authentication

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published