Back to Browse

How To Deploy A React App To GitHub Pages

4.5K views
May 4, 2021
7:44

In this video, i'll show you how you can Deploy A React App To GitHub pages quickly and easily! How To Deploy A React App To GitHub Pages ------------------------------------------------------------------------- 00:00 Introduction 00:31 GitHub pages overview 01:58 Example GitHub page project 04:05 Using gh-pages package 06:51 Summary So if you're building a portfolio of React projects that you have worked on or just want to show off some of your work, then you can use the free hosting provided by GitHub to host your apps. To get started in this React tutorial, we'll look at how GitHub pages work and how you can deploy your code to a specific project URL by committing your code to a specific branch within your Git repository. Once you've understood the concept and the challenges it presents, we'll take a look at an npm package, gh-pages, which can be used to automate this process and do the hard work for us. So if you're looking to deploy React apps to GitHub pages (or any other kind of static app for that matter) this React tutorial will get you up and running quickly. If your app has any kind of back-end services like a Node app or similar server-side code, you would need to host that separately as GitHub pages can only host static content like HTML, CSS and JavaScript. Otherwise, you will be able to deploy react apps to GitHub pages using this technique! #react #Githubpages Channel Handle @codebubb

Download

1 formats

Video Formats

360pmp411.8 MB

Right-click 'Download' and select 'Save Link As' if the file opens in a new tab.

How To Deploy A React App To GitHub Pages | NatokHD