Automation Version Control System

How to Deploy a React Application on Netlify


React is a popular JavaScript library for building functional and interactive user interfaces in a modern dynamic web application like Instagram. Whatever you build on your local system for a client will need a review by your client and that is where Netlify comes into the picture. Follow the below steps on how to deploy a react application on Netlify. You can also read about how you can Deploy GitHub Repositories to cPanel using GitHub Actions and Set Up a Continuous Deployment Pipeline Using AWS CodePipeline and How to use Command-Line on Git Bash and GitHub Desktop to PUSH local code to GitHub and How to Deploy Code from GitHub to Azure App Service from the Command-line.

Netlify is a cloud-based development platform where you can easily host and deploy your applications. With this platform, you can simply deploy your applications in seconds due to the availability of various tools and services that can simplify the deployment process. Here are some related articles: How to delete and create MySQL Databases, How to delete a MySQL User Account, and The different Windows Logon Types.

1. Create your React Application

Lets us assume you already developed your application but if not you can use the below commands to quickly create a demo React application you may also want to learn How to deploy a React Application to AWS S3

Run this command inside the project folder on your terminal to create a React application:

npx create-react-app demo-react-techdirect-netlify-app
npm start

You can access the app on your browser at the URL below


Now run the below command to create a production-ready version of your application.

npm run build

2. Deploy the React Application on Netlify

We can deploy our application to Netlify in these simple ways:

  • Import your project from a GitHub repository.
  • Using the Drag and Drop Feature.

3. Import your project from a GitHub repository

Create a repository on GitHub and use it to sign up for an account on GitLab and Bitbucket are other options to sign-up. Grant access and install Netlify on your GitHub so it can access all repositories or only selected repo.


Select the Project you want to deploy to Netlify. Here is an article on “Free Remote Desktop Software for Windows in 2023“.


You get to see the deployment log while the deployment process is ongoing.


Launch your site by clicking on permalink


If you want to import another project just navigate to Site and under Add new site select Import an existing project.


You can Import an existing project from another Git repository different from GitHub and you will not need to configure if static website but if dynamic you will need to do some configuration and deployment follows.


4. Using the Drag and Drop Feature

Navigate to Site and under Add new site select Deploy manually. In the drag-and-drop page, select the folder containing the react files that have the build too. Drag and drop it into the interface and it will be deployed instantly on Netlify.


In this YouTube video, you will learn how to Deploy a React Application on Netlify.

I hope you found this blog post on How to Deploy a React Application on Netlify. Interesting and helpful. In case you have any questions do not hesitate to ask in the comment section.

Notify of

Inline Feedbacks
View all comments
Would love your thoughts, please comment.x