2021Apress eBooksRequires access

Creating a RESTful API: Flask

Nico Loubser

Open publisher page 0 citations

Abstract

In this chapter, I will show you how to build a small project in Python. You will use all the knowledge about the software development process you have learned so far from the previous chapters. Part of every project is the decisions you need to make as to what technologies you are going to use. Lots of things can affect these decisions, such as your own skillset, your team's skillset, general best practices, and your project itself. You will stick to a conservative but realistic approach to solve your problem. You will build a small system that communicates with a database. This will be a complete project setup, including the GitLab repositories, changes to the Docker file, and installing the software you need for your project. One new aspect I will introduce is the software framework. When we create systems, we don't necessarily write all the code from scratch. We may opt to use a framework. A framework houses all the basic tools we need in order to bring our software up quickly. The tools may include routing of requests, where your external request is served up via specific “routes” into the system, or the basic code for database access models.

About this research paper

What this paper is about

In this chapter, I will show you how to build a small project in Python. You will use all the knowledge about the software development process you have learned so far from the previous chapters. Part of every project is the decisions you need to make as to what technologies you are going to use. Lots of things can affect these decisions, such as your own skillset, your team's skillset, general best practices, and your project itself. You will stick to a conservative but realistic approach to solve your problem. You will build a small system that communicates with a database. This will be a complete project setup, including the GitLab repositories, changes to the Docker file, and installing the software you need for your project. One new aspect I will introduce is the software framework. When we create systems, we don't necessarily write all the code from scratch. We may opt to use a framework. A framework houses all the basic tools we need in order to bring our software up quickly. The tools may include routing of requests, where your external request is served up via specific “routes” into the system, or the basic code for database access models.

Why it matters

A significance statement is not available in the OpenAlex record.

Key contribution

A contribution statement is not available in the OpenAlex record.

Method / approach

Method details are not available in the OpenAlex metadata.

Main findings

Findings are not separately available in the OpenAlex metadata.

Limitations

Limitations are not available in the OpenAlex metadata.

Applications

Application details are not available in the OpenAlex metadata.

Available abstract

In this chapter, I will show you how to build a small project in Python. You will use all the knowledge about the software development process you have learned so far from the previous chapters. Part of every project is the decisions you need to make as to what technologies you are going to use. Lots of things can affect these decisions, such as your own skillset, your team's skillset, general best practices, and your project itself. You will stick to a conservative but realistic approach to solve your problem. You will build a small system that communicates with a database. This will be a complete project setup, including the GitLab repositories, changes to the Docker file, and installing the software you need for your project. One new aspect I will introduce is the software framework. When we create systems, we don't necessarily write all the code from scratch. We may opt to use a framework. A framework houses all the basic tools we need in order to bring our software up quickly. The tools may include routing of requests, where your external request is served up via specific “routes” into the system, or the basic code for database access models.

Key concepts: Installation, Computer science, Python (programming language), Software, Software engineering, World Wide Web, Code (set theory), Programming language

Related papers

Back to paper searchBrowse research topicsOriginal source
Creating a RESTful API: Flask — Research Paper | ScholarLens