Configuring the Project

Let's see how we can configure the styling and routing of the project.

Before starting to write the authentication flow, let’s make sure that the project is ready for coding. In this lesson, we’ll configure styling and routing and allow the request on the API.

Let’s start with routing first.

Adding the React Router

Routing in a frontend application represents everything that deals with moving from one view to another and loading the right page using the right URL.

React doesn’t come with an integrated routing package, so we’ll use the react-router package.

We can install the package using the following command:

Get hands-on with 1400+ tech skills courses.