/Python-CC

Flask API with an RDBMS database using SQL Alchemy to support the REST API model that performs CRUD operations. Local virtual environment for Python Flask and templating to the application to perform basic DevOps and deploy to a cloud infrastructure.

Primary LanguagePython

Python Newsfeed

A Python3 project newsfeed to display articles, users, posts, comments, and votes. The template is Flask rendering Jinja templates. The models are defined using Python classes. Queried database using SQLAlchemy methods. Captured data in Flask POST using request. Persisted data using session. Handled database errors by using try ... except. Updated and deleted data by using SQLAlchemy methods. Created a custom decorator function to act as route middleware (@loggedIn).