Structuring and Displaying Our Summary Data – Part 6.4 Epic Next.js Tutorial for Beginners

preview_player
Показать описание


We'll focus on structuring our summary data in Strapi to save the summaries created with OpenAI and modify our fronend code to display them.

Next, we'll dive into the exciting task of creating Strapi route middleware. This will allow us to add user registration and deduct a credit when a summary is created, a crucial step in our project.

Key Points

- Understand how to create and configure collection types in Strapi.
- Discover how to implement authentication and manage permissions via Strapi route middleware.
- Improve your full-stack development skills with hands-on experience connecting front and backend services.

Don't forget to check the complimentary blog post linked above for all the code snippets you'll need.


-----------------------------------------------------------------------------------------------------------------------
Resources
------------------------------------------------------------------------------------------------------------------------

------------------------------------------------------------------------------------------------------------------------
Strapi
------------------------------------------------------------------------------------------------------------------------
Рекомендации по теме
Комментарии
Автор

One of the best tutorials I have found!!! Now all I have to do is localize my site :-)

scottvanwagenen
Автор

I am having issues with openai, I can not get the summary. Here is what I am getting after the API_KEY
{"error":"404 The model `gpt-4-turbo-preview` does not exist or you do not have access to it."}
Have you paid for the model or it is free?

tuyizerepacifique
Автор

Everything is OK but my credits in top right corner is undefined :D Actually that {text} in Span and idk how to solve that.

damiansimonak