Search⌘ K
AI Features

Setting up Project Backend

Explore setting up a complete back-end development environment by installing Python 3.9 or higher, creating virtual environments, initializing Git repositories, and installing Flask and Flask-Login. Understand how to structure project folders and manage dependencies for efficient backend development.

We’ll start this project with a clean slate and walk through each step to set up the development environment. The following are some of the project requirements that must be met:

  1. Python 3.9.0 or higher should be installed.
  2. Node.js server (npm) should be installed.

This is already available on the Educative platform.

Initial setup

We’ll start by creating the main bookapp/ project folder. Then, we’ll jump right into the bookapp/ folder and initialize a Git repository from a command prompt using the following commands.

Create a directory:

mkdir bookapp

Change into the directory:

cd bookapp

Initialize git:

git init
...