-
Notifications
You must be signed in to change notification settings - Fork 400
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Client-based Search on Strapi Static Sites with Next.js, Fuse.js, and Cloudflare #1512
Comments
Hi @winnie-n , Thanks for your article outline. I can't wait to see more of your contributions 🚀 I think your suggestions looks similar to these:
Please let me know if I am missing something. Thank you, |
You're right @Theodore-Kelechukwu-Onyejiaku . Really appreciate your feedback and you catching those. I'll review the blog more carefully before proposing an idea. Thanks again. Closing it now. |
Thank you @winnie-n . Please feel free to propose another one in the future. Thank you! |
Hey @Theodore-Kelechukwu-Onyejiaku. Apologies for the earlier typos. After reading the articles you shared, I’m considering a different angle for the search and filtering features. I propose a client-based approach, ideal for statically generated sites like news sites, blogs, and static e-commerce stores, where no external API calls to Strapi are needed. The content would still be managed on Strapi, with the search index updated and generated as a static asset whenever content changes and the site is rebuilt. This approach would really appeal to developers working on Jamstack sites. What do you think? |
Hi @winnie-n , thank you. Could you please elaborate on "with the search index updated and generated as a static asset whenever content changes and the site is rebuilt." Also, previously, were you intending on adding indexes to Strapi? And what will be the purpose of Fuse.js and Cloudflare? |
Thank you for following up @Theodore-Kelechukwu-Onyejiaku . Developers often opt for static websites because they perform better and load faster. So I wanted to show how to make search somewhat static and faster too. It's slower when you have to make a search request to a server.
Regarding Fuse and Cloudflare:
|
This sounds interested. Please proceed. Please don't forget to use Strapi 5. Thank you. Meanwhile, you can please update the title of this article idea to reflect the purpose of your work. |
Depending on the effort put into this article, I might have to label it as "intermediate". |
Got it. Thank you @Theodore-Kelechukwu-Onyejiaku . |
Hi @winnie-n , please would you be willing to turn in this article by this week or next? |
Hey @Theodore-Kelechukwu-Onyejiaku . Yes. I'll turn it in before the end of day tomorrow. Finished the code project, just writing up the article now. |
Hi @Theodore-Kelechukwu-Onyejiaku . Here it is. I've shared everything with you.
Could I possibly get a label review? |
Thank you very much @win-ne , I will now add this to the review backlog. |
Hi @win-ne , Trust you are doing well. Could you please ping me the following on Discord:
Thank you for your contribution! 💪 |
Hi @win-ne , I added some comments to you draft. Could you please review and incorporate. Thank you. |
Hi @win-ne , Trust you are doing great. Just to remind you of the messages above. Thank you. |
What is your article idea?
Strapi provides a host of search APIs. There are also several third-party services that one could integrate Strapi with for more fine-grained search functionality like Algolia. But I was hoping to propose an alternative search method that is client-based, that does not rely on external calls to Strapi or any third-party services, has great performance, and would work well with static sites that host Strapi content.
What are the objectives of your article?
Client-based Multi-field Search and Filtering on Strapi Static Sites with Next.js, Fuse.js, and Cloudflare
1. Introduction
2. Setup up your Strapi backend
3. Setting up your Next.js app
4. Deployment
5. Conclusion
Technologies
User Story
A publication reader would want to search for content by titles, keywords, authors, tags, and categories so that they can quickly find content that matches their interests. They need a quick and seamless search experience that allows them to filter results based on multiple criteria. This will help them easily discover relevant content without navigating through multiple pages.
Article Objectives
What is your expertise as a developer or writer?
Intermediate
What type of post is this?
Tutorial
Terms & Conditions
The text was updated successfully, but these errors were encountered: