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.
Feeding data into Strapi for all events - Next.js Tutorial
From the course: The Freelance Stack: Real Project with Next.js and Strapi
Feeding data into Strapi for all events
So, we created all the content types we need. We have the event content type itself, and we have the participants. We now have to feed in the data for the event. So this is going to be a little bit of work. I attached a file here to this video for you to do that. All of the data I created there is from ChatGPT, so you can just fill it in with whatever data you want to. We're going to create seven different cams. You don't have to do as many as me, but just I want to touch on I want to see the whole functionality of all of my components. So I'm just going to do that right here. The single price should always be higher than the shared price. And then for the images, we're just going to use whatever is already on Strapi as well and never add any participants. We can just save this if you have the draft and publish one still active, you also have to then publish it. And so that was already the first camp, then I'm going to go with the intermediate wave rider camp next. We then put in 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)
-