Skip to content

building a web application: projects

Ose Oaiya edited this page Aug 30, 2023 · 1 revision

Buiding a Web Application

Welcome to the Building a Web Application projects page! Once you have worked through the internal labs with your instructors, have a good at these projects.

These projects expect you to use Bootstrap 5 for your frontend development (HTML, CSS & JS). Bootstrap is a powerful, feature-packed frontend toolkit.

Bootstrap 5 documentation: https://getbootstrap.com/docs/5.2/getting-started/introduction/

The backend development should be created using Flask.

Flask documentation: https://flask.palletsprojects.com/en/2.3.x/

Project 1: Login server

Create a simple login server in Flask. Use a python dictionary as your in-memory database to store users' usernames and passwords.

In-memory database example:

users_database = {
    "username1" : "password",
    "username2" : "password"
}

Core pages

  • Login page
    • Make use of Bootstrap 5 forms to create the login page
  • Logged in user dashboard/home page
  • Error page
  • Logout page
    • Triggered by a logout button

Challenge: MP3 Playlist UI

Implement a user interface for the MP3 Playlist challenge.

Core functionality through the UI.

  • Ability to create a Playlist
  • Ability to add/ remove a song
  • Clear/Reset the Playlist
  • Display the Playlist

Further work

  • Add a login page to the UI
  • Load a playlist from a text file through the UI
  • Shuffle all the songs in the Playlist
  • Calculate the total duration of the playlist