rest-apis-flask-python

Projects and e-book for our course, REST APIs with Flask and Python

Stars
1.4K

Bot releases are visible (Hide)

rest-apis-flask-python - v2.4.0 Latest Release

Published by jslvtr 4 months ago

Multiple upgrades and a new feature: docker compose.

  • Add warning about missing data.db in repo when doing first deploy via #136
  • Add metadata for publishing course on Teclado
  • Use Cloudinary for image hosting
  • Fix text rendering in top banner via #139
  • Update Python base image to bookworm via #142
  • Use __name__ in blueprint definitions via #143
  • Use emails/action.html instead of emails/registration.html via #144
  • Remove creating db when running app; instead doing it via db migrations, via #145
  • Add missing ItemSchema import on section 6 via #146
  • Remove unnecessary compare_type in Alembic config file via #147
  • Add information on running app and database with Docker Compose via #147
  • Fix JS dependencies for Docusaurus upgrade via #156
  • Add optional store_id to ItemUpdateSchema via #157
  • Add missing os import in Flask-SQLAlchemy configuration lecture (S06 L04) via #158
  • Remove unnecessary version key in docker-compose.yml files via #159
  • Add info on running arbitrary commands in a Docker Compose container via #160
rest-apis-flask-python - v2.3.3

Published by jslvtr over 1 year ago

Content improvements

  • Remove unnecessary brackets after column class in SQLAlchemy
  • Update Flask version where it was pinned to the latest version

Meta improvements

  • Add Algolia search on code blocks
  • Update dependencies through dependabot for documentation application
rest-apis-flask-python - v2.3.2 (Code for S08 and S09)

Published by jslvtr over 1 year ago

Added content

  • 📝 Added lecture-by-lecture code for sections 8 and 9 via #114.
rest-apis-flask-python - v2.3.1 (No unique tag names)

Published by jslvtr almost 2 years ago

Made tag names not unique so that two different stores can have tags with the same name as each other.
Also fix a small bug where we were not recommending the correct way to generate a secret key for your application.

rest-apis-flask-python - v2.3.0 (Cascading deletes)

Published by jslvtr almost 2 years ago

New Content

  • ✨ #100 : add new lecture on cascading deletes (also on the Udemy course)
  • ✨ #101 : add insomnia export files so students can easily import them rather than having to create them manually for each section

Updated Content

  • 🐛 #102: fix requirements file in section 6 and remove incorrect imports

Full Changelog: https://github.com/tecladocode/rest-apis-flask-python/compare/v2.2.0...v2.3.0

rest-apis-flask-python - v2.2.0 (Bug fixes and improvements)

Published by jslvtr almost 2 years ago

New Content

  • ✨ Added Insomnia export files per-section and for all sections, and e-book page to explain how to use them #92, #97

Updated Content

Improvements

  • 📊 Add links to Udemy course throughout e-book and some trial videos #89
  • 📊 Use Algolia search, update style of e-book and update Docusaurus version #96

Bug fixes

  • 🐛 Added missing uuid import and fixed first few projects so code matches course #88
  • 🐛 Fix inconsistencies between video course and GitHub code #90
  • 🐛 Use db.Integer instead of db.String for foreign keys where required #91
rest-apis-flask-python - v2.1.0 (Task queues with rq)

Published by jslvtr about 2 years ago

New Content

  • Section 12 on using task queues with rq to send emails through Mailgun, #83, #85

Updated Content

  • Remove before_first_request in Flask apps, since now the recommended approach is to just do any necessary setup inside create_app(), #77
  • Remove db.create_all() from create_app() when using Flask-Migrate, since it is Flask-Migrate that creates the tables, #78
  • Add information to the e-book on how to make sure tag and item have the same store id when linking them, #79
  • Added missing required arguments in Flask-JWT-Extended callbacks, #81
  • Added missing hostname in the command to run Flask using the Flask development server in Docker, #82
  • Use FLASK_DEBUG instead of FLASK_ENV across entire ebook and all projects since FLASK_ENV is now deprecated, #84
  • Remove password's unique=True in all user models, #86
rest-apis-flask-python - v2.0.1

Published by jslvtr about 2 years ago

  • ✨ Add search bar to e-book so it's easier to find content by heading #69
  • 📝 Add Windows command for mounting Docker volumes #70
  • 🐛 Fix typos where .value() was used instead of .values() in a dictionary method call #68, #75
rest-apis-flask-python - v2.0.0 (Release course)

Published by jslvtr about 2 years ago

The new version of the course is finally out!

Get it at https://go.tecla.do/rest-apis-sale!

rest-apis-flask-python - v2.0.0-beta.5 (Render.com)

Published by jslvtr about 2 years ago

New content

  • ✨ Released section on deployments via Render.com #62

Bug fixes

  • 🐛 Fixed typo in Docker volumes through #61 (thanks @LUS24 )
rest-apis-flask-python - v2.0.0-beta.4 (Flask-JWT-Extended improvements)

Published by jslvtr about 2 years ago

While recording the Flask-JWT-Extended version, made a few improvements.

New content

  • ✨ Add lecture on how JWTs are used.
  • ✨ Add lecture on Insomnia request chaining.

Content improvements

  • 👨‍💻 Make item name not unique as it was an unrealistic constraint in a real system.
  • 👨‍💻 Remove @classmethod from User resource endpoint. These were left over from a previous version of the course.
  • 🐛 Improve explanations in "What is a REST API"
  • 🐛 Improve code blocks in SQLAlchemy section.
rest-apis-flask-python - v2.0.0-beta.3 (Code improvements)

Published by jslvtr over 2 years ago

Making a release after doing some code improvements while recording the Flask-Smorest section.

  • ✨ Split one lecture into 3 to make it more readable, via #57
  • Changed plural endpoints such as /items, /stores, and /tags to the singular counterparts, throughout all the sections.
rest-apis-flask-python - v2.0.0-beta.2 (Git section)

Published by jslvtr over 2 years ago

Added the Git section, which is really just a link to another e-book that I wrote for a live stream: https://git-workshop.tecladocode.com.

New content

  • ✨ Add new Git section
  • 🎨 Improve Docker section with diagrams and improved explanations

note: this release was previously accidentally released on master, but it should've been on develop.

rest-apis-flask-python - v2.0.0-beta.1 (Database migrations)

Published by jslvtr over 2 years ago

First beta release as I'll start recording the course content for publishing on Udemy based on this release.

Content may still change substantially during recording.

New content

  • ✨ Added database migrations section via #54
rest-apis-flask-python - v2.0.0-alpha.4 (Flask-JWT-Extended)

Published by jslvtr over 2 years ago

Adds Flask-JWT-Extended via #53 as well as fix some e-book bugs.

rest-apis-flask-python - v2.0.0-alpha.3 (many-to-many relationships)

Published by jslvtr over 2 years ago

Add section on many-to-many relationships with SQLAlchemy and Flask-SQLAlchemy via #51.

rest-apis-flask-python - v2.0.0-alpha.2 (Flask-SQLAlchemy)

Published by jslvtr over 2 years ago

Add section on SQL database storage using SQLAlchemy and Flask-SQLAlchemy.

This release includes Item and Store models, and their one-to-many relationship, via #50.

rest-apis-flask-python - v2.0.0-alpha.1

Published by jslvtr over 2 years ago

First release of the v2 of the course 🎉

We've written a few sections of our upcoming course! These sections are available for free in the course e-book (still a work in progress, but these are the finished sections):

  • #43 Using Docusaurus instead of Vuepress
  • Your First REST API. A guide to getting started with Flask to make a REST API. Added via #44 and #45.
  • An Introduction to Docker for Flask. This section guides you quickly through what Docker is and how to use it. Added via #46.
  • Flask-Smorest for More Efficient Development. Here we talk about a Flask extension for creating REST APIs, similar (but a bit better) to Flask-RESTful (which we use in the current version of the REST APIs with Flask and Python course). Added via #47 and #48.
rest-apis-flask-python - v1.0.1

Published by jslvtr over 2 years ago

  • #34
  • #39 and updated PDFs with the updated content
  • Updated README.md file so it's a bit clearer what's going on. Both direct on the master branch (sorry!) and via #49
rest-apis-flask-python - First official release

Published by jslvtr over 3 years ago

Although this isn't the first actual release of this course, it's the first official release. That's why we're calling it v1.0.0.

There have been a few changes since the original course was made (and that possibly differs from what's on Udemy):

  • Guides written for deployments, with #6 , #7, #8, #9, #22, #29, and #30 .
  • Flask-JWT-Extended added (this is the last section on the Udemy course) via #14, #15, #16, and #17
  • Bugs fixed with #1, #2, #3, #4, #5, #13, #19, #20, #23, #25

Moving forward our plan is to work in public, share our decisions about what we cover and don't cover, and show the changes we make over time.

We'll make use of GitHub Discussions for the Teclado team to talk about the course. If you have suggestions that haven't been mentioned before, please feel free to add them to the Discussions section, under "Ideas". Please don't use the GitHub Discussions to ask questions about the course (use the Udemy Course Q&A or our Discord server for that!).

We'll use Issues and Pull Requests (and maybe Projects) to track our work publicly over time.