Build a MERN application using Next.js

Offered By
Coursera Project Network
In this Guided Project, you will:

Create an asynchronous function in Next.js to access API data.

Pass props from the API call to the Next.js function component.

Use Next.js props to create the state in the React Component.

Clock2 hours
IntermediateIntermediate
CloudNo download needed
VideoSplit-screen video
Comment DotsEnglish
LaptopDesktop only

By the end of this project, you will Build a MERN application using Next.js by using Next.js to fetch data from an existing REST API and passing props to a React component to present questions and check answers on a form. Next.js is used to provide server-side rendering and routing. React is used for presenting dynamic data on the Client side for such activities as form processing. Next.js may be responsible for fetching data from an API to create props, while the React component handles form creation and event processing. Note: This course works best for learners who are based in the North America region. We’re currently working on providing the same experience in other regions.

Skills you will develop

Next.js PropsReact.js StateNext.js SWRNext.js Data FetchingReact.js Props

Learn step-by-step

In a video that plays in a split-screen with your work area, your instructor will walk you through these steps:

  1. Analyze the existing MongoDB, Express, Next.js and Node.js Application.

  2. Create an asynchronous function in Next.js to access API data.

  3. Pass props from the API call to the Next.js function component.

  4. Pass dynamic props from the Next.js parent to the Child Component.

  5. Use Next.js props to create the state in the React Component.

How Guided Projects work

Your workspace is a cloud desktop right in your browser, no download required

In a split-screen video, your instructor guides you step-by-step

Frequently asked questions

Frequently Asked Questions

More questions? Visit the Learner Help Center.