Introduction

For this application, we’re going to tie into the theme of one of the Tumblr bots you worked on in the Python workshop - the banned book list. We will build an application that resembles a mock submission form for “Librarian Recommended Reads for Expanding Your Perspective” - essentially the opposite of a banned books list. It will capture a title, author, description, cover image URL, as well as a field for submitters to detail why they would recommend this book to readers. Along the way we will cover many of the topics you’ll need to get started with building fully dynamic web applications.

Fork the base repository to your GitHub account

To get started, we’ll make a copy of the project repository where we can work on the application.

  1. Open this URL in your web browser: https://github.com/kbeswick/jumpstart-webdev
  2. Click the “Fork” button in the very top right corner of the page to create a copy of this repository to your own account
  3. After this completes, you should be on your version of the repository - to verify, make sure your username is the one displaying on the top left of the page beside the repository name.
  4. Click the green “Code” button on the screen
  5. In the popup that comes up, make sure the “HTTPS” tab is highlighted
  6. Copy the URL in the popup window by either pressing the clipboard icon, or highlighting the URL and pressing CTRL+C (or cmd+C on Mac)

Clone your copy of the repository to your computer and open it in VSCode

Now that we’ve made a copy of the repository to our own GitHub, we need to clone it down to our own computers so we can start to work on our application. We’ll also open it in VSCode so we can get started.

  1. Open VSCode, then open a new window (“File” menu > “New Window”)
  2. Open a terminal window within VSCode (“Terminal” menu > “New Terminal”)
  3. In the terminal, run cd ~/Desktop/jumpstart-2022 to navigate to your jumpstart-2022 workshops folder.
  4. Run the following command in your terminal to make a local copy of the repository on your computer (replace the URL with the one you copied from GitHub above): git clone https://your_copied_repository_url
  5. Run cd jumpstart-webdev in your terminal to navigate to the project folder.
  6. If you still have your jumpstart-2022 folder open in VSCode, look there to find the newly cloned “jumpstart-webdev” folder. If not, to open the project folder in VSCode, run code -r . in your terminal (code is the command to open VSCode, -r means reuse the current window, and the . means open the current directory). If the “code” command doesn’t work, just use File>Open Folder…, and find your jumpstart-webdev folder.