From the course: Skill Up with Python: Hands-On Web Development Projects

Unlock this course with a free trial

Join today to access over 25,000 courses taught by industry experts.

Build the basic application

Build the basic application

- Alright, so now that we're familiar with the basic application that we're going to be building, let's get started actually putting it together. And for this one, as I said, we're going to be using Flask, just like we did with our contacts API, so let's just get started here by creating a new folder and we'll just call that something like url-shortener. If you want to come up with your own fancy name for it, feel free to do that, but I'll just call it url-shortener. And then, in case you still have the old server running in your terminal, you're going to want to stop that as well as deactivate the virtual environment, right? So we're going to want to basically just set up a new virtual environment for our new project. You could in theory have just set up a virtual environment for this entire folder, but in general it's a good practice to just have one virtual environment for each project instead of having a shared one. So anyway, let's deactivate our virtual environment by typing…

Contents