© The Author(s), under exclusive license to APress Media, LLC, part of Springer Nature 2021
N. BiswasAdvanced Gatsby Projectshttps://doi.org/10.1007/978-1-4842-6640-3_1

1. Setting up the Ecommerce Site

Nabendu Biswas1  
(1)
Bangalore, India
 

In this chapter we will cover how to create a new project, then manage default files, and finally install react-icons into the project.

Getting Started

We first need to create a new project with the familiar gatsby new <project_name> command. I used the command in my Desktop with the command gatsby new restaurant-gatsby.

Next, let’s navigate to the directory and open the project in VS Code (Figure 1-1).
../images/506366_1_En_1_Chapter/506366_1_En_1_Fig1_HTML.jpg
Figure 1-1

cd ...

Get Advanced Gatsby Projects: Create Two Advanced Sites Using Technologies that Compliment Gatsby 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.