Project Challenge: Paws Rescue Center

In this lesson, we will start working on the project! We will be creating a web application for an animal rescue center called "Paws Rescue Center".

Introduction

We know how to implement a Flask application, how to create static and dynamic URL routes, and how to bind them to views. Using this information, we will now start building a real-world application. We will keep working on the application, side by side, as we keep learning more about Flask. We will get the chance to implement each thing by ourselves!

Paws Rescue Center 🐾

The application we will be building is a website for an animal rescue called the “Paws Rescue Center 🐾”. By using this example, it will be sufficient to demonstrate how to build a basic web application with the Flask framework.

Problem statement

In this challenge, we will implement the views for the ‘home’ and ‘about’ pages of the application.

  1. The URL routes for both views should be user-friendly.

  2. The home page should output the string: "Paws Rescue Center 🐾".

  3. The about function should output the following line: "We are a non-profit organization working as an animal rescue. We aim to help you connect with the purrfect furbaby for you! The animals you find on our website are rescued and rehabilitated animals. Our mission is to promote the ideology "adopt, don't hop"! ".

Home page - expected output

Get hands-on with 1200+ tech skills courses.