Join Shaun Wassell for an in-depth discussion in this video Using react-router links, part of React: Creating and Hosting a Full-Stack Site.
- [Instructor] So far on our app, … we have all of our blog pages set up, … and each page will show when we visit … the URL that we've assigned to it … But currently we still have to physically type … the URLs into our browser, … which is completely unacceptable for any website. … What our website needs now is a nav bar. … And instead of putting all the JSX … for our nav bar inside our app.js file, … let's create another component for it. … Inside the source folder … on the same level as app.js, … let's create a new file called navbar.js, … and inside it we'll create … Const nav bar. … Close parentheses and then our JSX will go in here. … And then let's make sure we import React … and also export our nav bar component. … Export default nav bar. … And now inside this component, … we're going to create a very basic nav bar component … using an unordered list. … That'll look like this. … We'll say nav, … and inside these nav tags we'll put UL for unordered list … and then we'll create each of our list items. …
- Creating the app component
- Using React-Router links
- Setting up an Express server
- Route parameters in Express
- Adding the comments functionality
- Installing and adding MongoDB to your project
- Rewriting the endpoints
- Adding React hooks
- Adding buttons and forms
- Pushing code to GitHub
- Running a full-stack app on AWS
Skill Level Intermediate
1. Creating a React Front End
2. Creating a Node Back End
3. Setting Up MongoDB
4. Connecting the Front and Back Ends
5. Hosting the Site
Next steps1m 17s
- Mark as unwatched
- Mark all as unwatched
Are you sure you want to mark all the videos in this course as unwatched?
This will not affect your course history, your reports, or your certificates of completion for this course.Cancel
Take notes with your new membership!
Type in the entry box, then click Enter to save your note.
1:30Press on any video thumbnail to jump immediately to the timecode shown.
Notes are saved with you account but can also be exported as plain text, MS Word, PDF, Google Doc, or Evernote.