this project has made for testing skills of using Python framework Flask
and using ORM
Object Relational Mapping called sqlalchemy
to test Add , Retrive , Update and Delete . and this project implements a JSON endpoint
this project used design pattern called MVC
- Python3
- SQLlite (DB)
- sqlalchemy
- oauth2client
- Install python . https://www.python.org/downloads/
- Download SQLlite DB
.
pip3 install sqllite
- Download sqlalchemy
ORM
(DB-API) .pip3 install sqlalchemy
- Download oauth2client from here
.
pip3 install oauth2client
- Download Project File and UNZIP its files
- you will find Folder called Templates this folder contain all View file
- and there are two more files one called
Model.py
this file contain all database configuration - and the seconde file called
Controller.py
this file contain all Logic of the system - you can must change directory
cd
of the terminal to inside the project folder and run this command python controller.py
- and open your browser and access this URL
http://localhost:5000
this project is free to every one who is starting to learn python
Author : Eslam Ayman