Skip to main content

Posts

Latest post

How to Deploy Your Flask Projects on Render?

Deploying a Flask application doesn’t have to mean putting everything on the same server. In this tutorial, I’ll walk through how I deployed the **Jersey City Pickleball Club (JCPC)** projects using a hybrid approach: the **JCPC website** as a static site, and the **JCPC booking portal** and **JCPC admin portal** as dynamic Flask applications on Render. This setup demonstrates how different parts of the same application can be deployed independently, depending on their technical requirements. Prerequisite: This tutorial is part of the Flask Landing Page and Reservation System Series. 📚 View the Complete Flask Landing Page and Reservation System Series ⬅ Previous Part      Step 1: Set up GitHub First of all, log in to your GitHub account. Then click the '+' button in the top-right corner and select the dropdown to create a new repository.  Next, provide a name and add a license; here, I selected Apache License 2.0, and finally, I clicked the green button "Create...
Recent posts

How to Test the JCPC Authentication with Pytest and Playwright?

A reliable booking system starts with reliable authentication. In this tutorial, we’ll use Pytest and Playwright to test the Jersey City Pickleball Club (JCPC) website’s essential user flows—sign up, sign in, and sign out.  Rather than simply checking whether a page loads, we’ll simulate real user interactions and verify that JCPC responds correctly at each step. By the end, you’ll have a practical foundation for building end-to-end authentication tests for a Flask application.

How to Build a JCPC Management Analytics Dashboard?

Learn how to build a Flask-Admin management dashboard that reads booking data from SQLite, uses Pandas to analyze bookings and revenue, and presents key business metrics and charts for management.

How to Edit Bookings & Auto-Expire in Flask?

  A booking system should do more than simply create reservations. In this tutorial, we'll enhance the Jersey City Pickleball Club booking system by allowing members to edit their court, date, and time slot, download a revised entry pass after making changes, and automatically remove bookings once their scheduled time has passed. Using Flask, TinyDB, and the existing Stripe payment integration, we'll turn the basic booking workflow into a more complete and practical booking management system. Prerequisite: This tutorial is part of the Flask Landing Page and Reservation System Series. 📚 View the Complete Flask Landing Page and Reservation System Series ⬅ Previous Part                                                                                          ...

How to Generate Entry Pass and Stripe Receipt Downloads in Flask?

In this tutorial, we will enhance our Flask-based Jersey City Pickleball Club booking system by adding two useful features: a PDF entry pass and Stripe payment receipt access. We will use ReportLab to generate a personalised entry pass containing booking details such as member name, court, date, time slot, and booking fee information. We will also integrate with the Stripe API to retrieve the official payment receipt, allowing users to access their transaction records directly from the dashboard. Prerequisite: This tutorial is part of the Flask Landing Page and Reservation System Series. 📚 View the Complete Flask Landing Page and Reservation System Series ⬅ Previous Part                                                                                           ...