From the course: The Freelance Stack: Real Project with Next.js and Strapi
Unlock this course with a free trial
Join today to access over 25,200 courses taught by industry experts.
Post requests in Strapi with the newsletter signup - Next.js Tutorial
From the course: The Freelance Stack: Real Project with Next.js and Strapi
Post requests in Strapi with the newsletter signup
We are on the last section of our Surfcam page which is the events section where people can sign up for upcoming events or for specific events. As you can see it's going to be two pages but they look incredibly similar. So what we have is we have one general overview page so if people here anywhere on the page click on book now they're going to get to this page where they can sign up for upcoming events and that is basically them marking themselves as general interest. Now if they click though on any of these featured art items right here at the bottom and they click for example this camp or this event they're gonna get to the individual page which the only difference between the two actually is that there's some pricing here and you have a different text for the individual event and this means like if we're doing this that when we're done with this we will be able to post data from the front end to Strapi to make it available to anybody who has the login in Strapi, right, which is…
Practice while you learn with exercise files
Download the files the instructor uses to teach the course. Follow along and learn by watching, listening and practicing.
Contents
-
-
-
-
-
-
-
-
-
-
-
(Locked)
Post requests in Strapi with the newsletter signup7m 7s
-
(Locked)
Hook up frontend to signup component in Strapi10m 16s
-
(Locked)
Strapi participant and event content type7m 21s
-
(Locked)
Feeding data into Strapi for all events6m 56s
-
(Locked)
Signup form JSX15m 50s
-
(Locked)
Styling: Signup form8m 56s
-
(Locked)
Signup form functionality: Sending data to Strapi from main events page18m 50s
-
(Locked)
Pregenerate individual event pages14m 12s
-
(Locked)
Event data processing4m 46s
-
(Locked)
Render individual event page based off Strapi data9m 43s
-
(Locked)
Sign up for specific event8m 56s
-
(Locked)
Fetch and filter upcoming events with a string query from Strapi15m 26s
-
(Locked)
Adjust featured items component for individual event page11m 26s
-
(Locked)
Styling: FeaturedItem component adjusted for event3m 45s
-
(Locked)
Fetch more events on individual event page & thank you10m 45s
-
(Locked)
-