...

/

Creating the Registration Page

Creating the Registration Page

Follow step-by-step instructions to create a registration page using React.

If a user needs login credentials, they will need to register first. In this lesson, we'll create a registration form while also handling the necessary requests.

Adding a registration page

Let’s start by writing code for the form page. We’ll start by writing the registration form component.

Step 1

Inside the src directory, we create a new directory called components. We then create another new directory called authentication inside the newly created components directory. This authentication directory will contain the registration and login forms.

Step 2

Once that’s done, we create a file called RegistrationForm.jsx inside the authentication directory:

- src
- store
- components
- authentication
- RegistrationForm.jsx
- routes
- helpers
- pages
The registration file

React Bootstrap provides form components that we can use ...