Deliverables - Class Assignments
React Deployment
TIP
Due before 6:00 pm on Friday October 22, 2021.
It is now time to deploy your React Router assignment to a production webserver. You will use the user info application built using React with React Router from last week and deploy it to GitHub Pages.
Remember to convert your use of BrowserRouter
to HashRouter
.
Be sure to test your code on GitHub before submitting.
Use the build
command to create your production build.
Use the gh-pages
npm module to push the build folder to Github.
You will be marked on a proper deployment, plus all the navigation routes working properly on Github. Remember, this is supposed to be a production build of your project.
# Submission
- Update your private repo on GitHub with the name mad9135-c2-react-router to change it to a public repo.
- Go to the
Pages
section in the Settings for your repo. Makes sure that your "build" folder is thegh-pages
branch. - Make sure you test your github pages url to make sure it is working.
- Invite GitHub user
prof3ssorSt3v3
as a collaborator on your private repo. - Submit the URLs for both the code repo and GitHub Pages to bs LMS.