June 2024 Summaries
15 posts from Strapi
Filter
Month:
Year:
Post Summaries
Back to Blog
In this tutorial, you learned how to use fetch() method of Fetch API to make API calls to Strapi's content API. You started by installing Node.js and creating a new project. Then, you installed the necessary dependencies for making HTTP requests in Node.js. After that, you created a new Content-Type in Strapi and exposed it as an API endpoint.
You then learned how to fetch data from your API using the fetch() method. You also learned about different ways of fetching data such as pagination, filtering, population, file upload, and file download. Finally, you ran some examples to demonstrate these concepts in action.
By the end of this tutorial, you should have a good understanding of how to use fetch() method of Fetch API with Strapi's content API. You can now apply these concepts to your own projects or continue learning more about advanced topics related to APIs and web development.
Jun 29, 2024
5,374 words in the original blog post.
Strapi has released its 5th version as a Release Candidate (RC), which is stable enough for testing purposes. The team has implemented all breaking changes and fixed critical bugs. They are now focusing on fixing medium and low-priority issues, gathering feedback from the community to improve the final release. Users can install Strapi 5 RC using the command npx create-strapi-app@rc <project_name>. The main difference between this version and the previous one is its increased stability. Strapi encourages users to provide feedback on their experiences with the new version, which will help improve the final release.
Jun 27, 2024
496 words in the original blog post.
Selecting the right front-end framework for a project requires careful consideration of various factors such as project requirements, community support, performance, scalability, and learning curve. Understanding these aspects helps in making an informed decision that aligns with the development goals. Factors like application complexity, community strength, regular updates, performance optimization, scalability, maintainability, and ease of learning should be evaluated to ensure the chosen framework supports the project's growth over time. Switching frameworks mid-project may have benefits such as improved performance, access to new features, and better support from an active community but also comes with challenges like potential setbacks in development progress.
Jun 26, 2024
1,251 words in the original blog post.
Strapi has made significant improvements to its platform, reducing deployment times on Strapi Cloud from around 7 minutes to just 3 minutes. This enhancement aims to streamline the workflow for developers and increase productivity. Additionally, Strapi is now SOC2 certified, ensuring high standards of security and compliance. The company has also released new plugins in the Strapi Market, including imgix, Phone Validator, ComfyUI Workflow, Media Prefix, Rich Text, Google Auth With Token, Strapi chat genius, Strapi provider bunny, and Leaflet Geoman. These updates demonstrate Strapi's commitment to enhancing user experience and maintaining top-level security standards.
Jun 25, 2024
937 words in the original blog post.
In this tutorial, we built a multilingual blog website using Astro and Strapi CMS. We started by setting up the development environment for both technologies. Then, we created a new content type in Strapi called "Blogs" with different fields such as title, content, image, etc. After that, we used Dynamic Zones to allow users to create custom blog layouts using blocks.
Next, we built the frontend of our website using Astro and implemented Static Site Generation (SSG) for performance optimization. We also implemented Pagination in Astro to handle large data sets with ease. Additionally, we enabled Internationalization to render blog content in both English and Spanish languages.
Finally, we changed Astro's default behavior from Static Site Generation (SSG) to Server-Side Rendering (SSR) using the node adapter. This allowed us to update the UI in real time when new blog posts were added. We also fixed an issue with pagination not showing newly created blog posts without rebuilding our application.
By the end of this tutorial, we had successfully built a multilingual blog website using Astro and Strapi CMS.
Jun 24, 2024
5,561 words in the original blog post.
In Part 2 of the tutorial series, we explore Strapi, a robust open-source Node.js headless content management system (CMS) that helps developers create and manage content-rich experiences for any digital device. We learn about Strapi installation, Strapi Content type builder, Collection type, enabling API access, internalization, Dynamic zones, and more. The tutorial guides us through creating a landing page Dynamic Zone using the Strapi headless CMS and how to enable public access for the Page collection type.
Jun 19, 2024
1,824 words in the original blog post.
In Strapi V5, several new features are expected to enhance the headless CMS experience. These include content versioning, which allows users to prepare draft versions of published content; the Document Service API, which replaces the Entity Service API and introduces new methods such as publish(), unpublish(), discardDraft(), and count(); a change in the response structure for data fetched via the API; partial support for Relay-style queries in the GraphQL API; and an upgrade tool designed to assist in migrating between versions of Strapi.
Jun 18, 2024
742 words in the original blog post.
In this tutorial series, we will explore how to work with Astro.js, a popular front-end framework, and Strapi Headless CMS. We will start by creating a basic Astro application and then delve into topics such as Static Site Generation (SSG) in Astro, Server Side Rendering (SSR) in Astro, pre-rendering, layouts and components, linking between pages, making API requests, and more. We will also introduce Strapi Headless CMS and discuss its integration with Astro.js.
Jun 17, 2024
4,084 words in the original blog post.
Rust is a systems programming language designed to solve challenging software problems, offering type safety, high performance, and concurrency. Since its announcement in 2010, Rust has witnessed tremendous growth and was referred to as the "most loved" programming language in the 2023 StackOverflow Developer's survey. The language is known for its modern and clean syntax, strong package manager with Cargo, memory safety and ownership system, concurrency and parallelism features, and a thriving community that actively contributes to and maintains it. Companies like Dropbox, Figma, Discord, Cloudflare, Amazon, Microsoft, and Mozilla use Rust in their products due to its efficient memory management and safety, cybersecurity capabilities, and developer productivity improvements.
Jun 13, 2024
1,679 words in the original blog post.
Three security vulnerabilities have been patched in the Strapi framework, including a Denial-of-Service issue, lax RBAC access control on fields rendering lists of relations, and an Open Redirect combined with transmission of session tokens via URL query parameters. The patches were released in version v4.24.2. Strapi has followed responsible disclosure practices by patching the vulnerabilities before full disclosure and notifying customers to upgrade their servers.
Jun 12, 2024
1,478 words in the original blog post.
You can use Vercel's AI UI generator v0 to create production-ready code for your web applications by translating text and image prompts into React code with Tailwind CSS and shadcn/ui styling. The process involves two main steps: creating a generation, which requires submitting an initial prompt that describes the UI element or section you want, and iterating and refining by using additional prompts or tools to make further adjustments. v0 offers a credit system, where each initial generation costs 15 credits, and revisions or additional prompts cost 5 credits. The tool also features a theme editor for customizing visual styles and a "Pick and Edit" feature that lets you select parts of the UI to alter directly. Once you're happy with your generated code, you can export it to use in your Next.js project by following specific steps. With v0's help, you can create compelling landing pages in just minutes, using examples such as building a landing page for a component library. By combining v0 with Next.js, you can streamline the process of creating engaging web applications and take advantage of AI-driven web development tools to make your projects more accessible and intuitive.
Jun 10, 2024
1,920 words in the original blog post.
This article discusses HTMX, a lightweight JavaScript library that enhances server-rendered HTML pages by extending their capabilities with custom attributes. These attributes enable AJAX requests from the frontend to the backend and render returned response content on the screen. The article compares HTMX to React, highlighting its simplicity, efficient interactions, and backend-driven applications as advantages. It also provides an example of building a task manager application using HTMX.
Jun 07, 2024
2,095 words in the original blog post.
The recent Vercel Ship event highlighted several updates and new features for web developers. Among these were the introduction of a firewall feature, enhanced security with server-side feature flags, and improvements to Next.js 15. These enhancements aim to optimize application performance and provide better control over costs and security. Notable updates in Next.js 15 include support for React 19 RC, integration of the experimental React Compiler, improved error messages for hydration errors, changes to caching behavior, introduction of Partial Prerendering (PPR), new configuration options for external packages, and a redesigned create-next-app command. These features are expected to make Next.js an even more powerful tool for building modern web applications.
Jun 06, 2024
960 words in the original blog post.
This article provides an extensive comparison of four prominent open-source relational databases: PostgreSQL, MySQL, MariaDB, and SQLite. It discusses their architectural differences, advanced data types support, performance, scalability, and development experience. The author emphasizes the importance of understanding core database features to make informed decisions when choosing a suitable database technology for specific use cases. The article concludes by summarizing the strengths and weaknesses of each database and offers guidance on selecting the most appropriate one based on individual needs.
Jun 05, 2024
2,660 words in the original blog post.
This article provides an in-depth comparison of various email service providers such as Resend, Sendgrid, Nodemailer, Amazon SES, and Mailgun. It also guides developers on how to integrate these services into their Strapi projects. The choice of the right email provider depends on factors like cost-effectiveness, ease of use, analytics capabilities, and specific project requirements.
Jun 03, 2024
3,767 words in the original blog post.