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.
Signup form functionality: Sending data to Strapi from main events page - Next.js Tutorial
From the course: The Freelance Stack: Real Project with Next.js and Strapi
Signup form functionality: Sending data to Strapi from main events page
Okay, what we're going to be doing now is we want to send data for the general interest page, right? That's the page we're currently working on. If we go to Visual Studio Code, we are still within the, let me just show you here, within this page, right? That's where we're currently, what we're currently looking at. So if we go to the page itself, if you click on stay in touch here, what you're saying is I'm generally interested in surf cams and other events, let me know about them, right? So where we want you to end up is in our participant collection right here, but with a general interest flag set, right? This is what we created here. Is general interest true or false? So for now what we want to do is send exactly a general interest request to Strapi and then save it there. Now I do have Postman open again, right? I didn't say it the first time, but you don't have to get Postman for this, right? This is just a tool, if you're not familiar with it, in order for you to try out the…
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)
-