Skip to content

Python project for concept proof (This demonstrates Flask-MVC structure and base exercise)

License

Notifications You must be signed in to change notification settings

geek115/bh-coding-test-py

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

bh-coding-test-py

Python project for concept proof (This demonstrates Flask-MVC structure and base exercise)

Environment Setup(MacOS)

Install Python3 and some tools.

$ brew update
$ brew install python3

Along with Python 3, Homebrew will install pip, setuptools and wheel.

Make sure if python3 and pip3 was installed successfully

$ python3 --version
$ pip3 --version

Run the project

Extract zip file and move to bh-coding-test-py directory in Terminal

$ ...
$ cd bh-coding-test-py

Create a Virtual Environment in the directory and install some dependencies

$ python3 -m venv myenv
$ source myenv/bin/activate
$ pip install -r requirements.txt

Run the application

$ python3 runserver.py

You will see the app at http://localhost:5000 on your browser.

How to use

The app has Add Product, Load Products, List Products, Email Schedule pages.

Add Product - add new product with data

Load Products - show the active customer products. (This is the default page)

List Products - show list of products sorted by CustomerId

Email Schedule - show email schedule list

You can click Demo Data button to use demo products.


Happy coding, Hell Yeah!

About

Python project for concept proof (This demonstrates Flask-MVC structure and base exercise)

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published