Skip to content

sbmandava/WebRest-architecture-blueprint

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Sample Application Blueprint using Python, Flask

Long Term Objectives : Enterprise Grade Security, Cloud/Mobile Ready, Containerized, API Enabled, BigData Realtime Backend

Quick Start

Web/REST Application Blueprint

Components

  • Database residing in data/user.db
  • webapi_server.py is API Server serving data from user.db
  • webapp_server.py is Web Server which connects to API Server for data

Initilize the Environment.

  • Install and Activate the python 3.5 environment
    • pyenv install 3.5 env
    • source env/bin/activate
  • Install the module dependencies
    • pip install -r requirements.txt
  • Initialize the database using admin.py
    • python admin.py

Start WebAPI Server

  • python webapi_server.py 1>logs/webapi_server.log 2>&1 &
    • Note : this command sends the job into background..
  • Test if the webapi is responding

Start WebApp Server

  • python webapp_server.py 1>logs/webapp_server.log 2>&1 &
  • Test if the webapp is responding

About

WebRest Secure Scalable Architecture Blueprint

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published