© The Author(s), under exclusive license to APress Media, LLC, part of Springer Nature 2021
V. GagliardiDecoupled Django https://doi.org/10.1007/978-1-4842-7144-5_5

5. Setting Up a Django Project

Valentino Gagliardi1  
(1)
Colle di Val D’Elsa, Italy
 
This chapter covers:
  • Setting up the Django project

In the following sections, we begin to lay down the structure of our Django project.

This project will accompany us for the rest of the book. It will be expanded with a REST API in Chapter 6, and later with a GraphQL API.

Setting Up the Project

To start off, create a new folder for the project and move into it:
mkdir decoupled-dj && cd $_
Note

It is a good idea to keep the project under source control with Git. You are encouraged to initialize a repo with git ...

Get Decoupled Django: Understand and Build Decoupled Django Architectures for JavaScript Front-ends now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.