luks04 / learning_python_and_flask

It has many examples of using python lists, tuples, dictionaries. Also, there are logical operators examples, loops, and functions. It contains a Flask app too with some templates examples and API Rest services. It includes useful examples of SQL and NoSQL Databases. The Flask app is containerized using Docker

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

LearningPython and Docker

Python bases

It has many examples of using python:

  • Lists / Lists as Stacks / Tuples / Dictionaries / Sets / Queues
  • String formatting / Logical operators / Loops / Functions
  • Regular expressions / Recursion / Files management
  • OOP (Object Oriented Programming) / Classes / Inheritance
  • Threads (Multiprocessing) / Asynchronous / Decorators
  • Generators / Iterators / SQL and NoSQL Databases use

Flask app

It contains a Flask app too with some templates and API Rest services examples. Including cookies, sessions, HTTP protocol and SQLALchemy

Docker

The Flask app is containerized using Docker. To deploy with Docker on Heroku (Heroku CLI needed):

heroku login
git add .
git commit -m "<commit message>"
heroku stack:set container
git push heroku <source_branch>:master

To show the logs

heroku logs --tail

About

It has many examples of using python lists, tuples, dictionaries. Also, there are logical operators examples, loops, and functions. It contains a Flask app too with some templates examples and API Rest services. It includes useful examples of SQL and NoSQL Databases. The Flask app is containerized using Docker


Languages

Language:Python 95.8%Language:HTML 3.3%Language:Dockerfile 0.8%Language:JavaScript 0.1%