
Build scalable, secure API backends for mobile apps with Flask, connect databases, and implement simple deep learning models to generate content recommendations for thousands of users per second.
Explore the mobile app structure by pairing a react native frontend with a python backend, learning how the server processes data, stores it in a database, and enables backend-frontend communication.
Explore the Flask framework for web development with Python by setting up a project, creating a virtual environment, installing Flask, and building a simple local app with routes.
Launch your first API server with Flask-RESTful, create a resource, expose routes for get and post, and test locally on localhost before moving to production with a custom domain.
Learn to send complex information to a mobile app by building a Flask backend API that reads Excel data with pandas and serves actions via GET requests.
Shows how the frontend consumes json from the api to build action cards with names, images, and descriptions, and filters by category.
Coordinate with frontend and backend teams to align routes, data shapes, and security for your API. Document the shape of responses using a data map or table to prevent mismatches.
Learn to implement a post endpoint in Flask to create a new action, building an actions dictionary with title, description, image, category, and impact, and assign a random id.
Explore how to create a delete method for your Python back-end, sending a delete request to remove actions or posts by id, with suppression logic and server validation.
Learn how to modify information on the back-end using a put request, updating fields like title, description, image, and category by action id in the API.
Bring all methods under the same route by using a single resource to handle get, post, put, and delete operations in a Flask API for mobile apps.
Explore how to structure a flask backend for mobile apps by using blueprints to separate api and main website components, configure secrets, and organize routes for scalable projects.
Learn how to move from in-memory storage to a database using Python, Flask, and SQLAlchemy, defining a first actions table with fields like id, title, description, category, and image.
Learn how to load data from an Excel file into a dictionary, map it to database records, and commit content to a Flask-powered API using a content and actions schema.
Retrieve and transform database content into api-ready json by querying the content table, using alchemy to serialize outputs, and returning single or multiple actions with error handling.
Learn how to update and delete records in a Flask backend for mobile apps, including updating action titles and descriptions and deleting actions with committed changes.
Explore connecting to PostgreSQL and MongoDB without the flask app context, using dedicated libraries, opening connections, executing queries, and handling commits and security considerations.
Create a user table with id, username, password, and avatar; build API routes to create, read, update, and delete users, and hash passwords securely.
Build a Flask-based backend feature that handles likes and dislikes by creating a life resource, linking user and content, validating existence, and updating a rating with plus or minus one.
Demonstrate the front-end view for a mobile app, enabling users to rate items, post comments, and like or dislike content via API calls to the backend.
Learn how to add, store, retrieve, update, and delete comments in a Flask backend for mobile apps, using a dedicated comments resource linked to user and content.
Secure your API by enabling cross origin calls with flask cross, creating an admin user, and issuing a JWT access token for protected routes.
Learn how to secure a Flask API by obtaining a token via a notification route, storing it in memory, and attaching it as a bearer token to each request.
Improve mobile app speed by sending only needed frontend data, loading content in batches of 10 from the backend APIs, and optimizing queries and timing to deliver faster, scroll-based loading.
Send emails in Python using a mail instance in a Flask app, with SSL and credentials. Compose message subject and body, and send to recipients inside or outside app context.
Learn to send text messages with Twilio in a Flask backend, including creating messages, configuring from and to numbers, and sending confirmations or alerts when user data changes.
Explore building a recommender system using user and action weights, matrix-based predictions, and deployment strategies to rank personalized content for each user.
Explore production theory for mobile backends, converting development Flask apps to production with uWSGI, enabling concurrency and scalable handling of thousands of user requests.
Deploy a flask-based mobile app to python anywhere for free, configure the environment, install libraries from requirements, upload your project, and run a production-ready web app with token access.
Deploy a Flask-based Python backend for mobile apps on a cloud host, configure a virtual environment, databases, and a mail server, and push production with domain and API access.
Learn to deploy a Flask API backend on Digital Ocean from scratch, including Ubuntu droplets, environment setup, database configuration, Nginx and Gunicorn, domain DNS, and SSL certificates.
Congratulations on finishing this ambitious course. You can build mobile app actions, make server requests, work with databases, scale, and even prototype a simple deep learning recommendation model using Flask.
Ambitious mobile apps that want to host thousands of users every second will need a backend. This course focuses on building such ambitious projects by giving you the tools that you need to create secure and powerful backend servers for bringing your mobile app to the next level.
This course offers practical solutions to the most challenging problems that you will meet while building a mobile application. With this course, you will understand how applications like Snapchat, Instagram or TikTok can host so much content while providing a wonderful user experience.
You will understand how you can build a complete API, that receives and send information to your mobile app, that connects to a database and you will put this API to production. I have gathered in this course everything that I learnt in the last 3 years, wandering around thousands of forums and YouTube videos and debugging during thousands of hours. This course is broken into chapters that address all the subjects that you need to understand to build a complete backend Python server to sustain thousands of users every second. You will learn:
- How to launch an "hello world" application
- How to connect your mobile app to the backend server API
- The best practices of programming within a team
- How to connect your server to databases (MySQL, PostgreSQL, MongoDB) so that you can store the information
- How to secure your API so that no one else can access it
- How to scale your application
- How to put to production a simple deep learning model for recommending content (like Facebook feeds)
- How to put your application to production with different providers
I have intentionally designed this course so that you can come back any time and find what you need in separate videos and course chapters. This course is part on an ongoing Python’s series including:
- Python for web development
- Python for web scrapping & advanced automation
- Python for mobile app backends & APIs (this course)