Home / Companies / Strapi / Blog / February 2023

February 2023 Summaries

8 posts from Strapi

Filter
Month: Year:
Post Summaries Back to Blog
Strapi, an open-source headless content management system, recently introduced several features aimed at enhancing developer experience and security compliance. Notably, the new Data Export & Import feature facilitates seamless data backup and transfer between projects without manual database interaction, complementing upcoming Strapi Cloud deployments. Additionally, Strapi has improved its audit logs to offer more detailed tracking of data access and changes, though these are available exclusively for Enterprise customers. The platform's marketplace has expanded to over 100 plugins, enabling users to extend their applications with new functionalities such as AI integration and media management. Strapi continues to grow with community contributions, encouraging users to participate in development via GitHub, suggest features for the roadmap, and submit plugins to the Strapi Market.
Feb 28, 2023 865 words in the original blog post.
This tutorial guides you through creating automated tests for a Strapi API using PactumJS. It covers setting up the Strapi back-end of a simple To-Do list application, installing and configuring PactumJS, making different types of requests, validating responses, and utilizing various assertion functions offered by PactumJS to ensure the API response is correct. The tutorial also provides an overview of status codes and their meanings, as well as a brief introduction to DevOps and Discord communities related to Strapi.
Feb 17, 2023 3,470 words in the original blog post.
On-premises and cloud computing are two distinct approaches to managing and accessing computing resources, each offering unique advantages and disadvantages based on a company's specific needs, resources, and priorities. On-premises solutions involve maintaining and managing infrastructure locally, providing high levels of control and security but often requiring significant resources and personnel for maintenance. In contrast, cloud computing offers flexibility, scalability, and cost-effectiveness, allowing businesses to access computing resources via the internet on an as-needed basis and eliminating the need for physical infrastructure maintenance. There are different types of cloud computing, including public, private, hybrid, community, and multi-cloud environments, each with its characteristics and benefits tailored to various organizational requirements. While cloud solutions are popular for their convenience and scalability, they pose challenges in data ownership, compliance, and security, necessitating careful evaluation of providers' security measures and regulatory compliance. In industries with stringent privacy concerns, on-premises solutions might be preferred due to their enhanced control and security, despite their higher costs and maintenance demands. Ultimately, the decision between on-premises and cloud computing should be driven by an organization's specific needs, cost considerations, and the level of control and security required.
Feb 15, 2023 1,239 words in the original blog post.
Strapi multitenancy allows running multiple Strapi applications sharing the same codebase, each with its own isolated and independent set of resources such as content, users, and permissions. This approach enables easy rollouts of new features to all clients simultaneously and low maintenance with a scalable solution. To implement this, a separate database for each instance or website is created, while still running from a single codebase. The application server configuration is modified to accommodate different hosts and ports for each instance. PM2 is used for running the Strapi application, and Nginx is set up to serve multiple domains with SSL certificates. This setup allows for efficient management of multiple applications with shared resources, making it an ideal solution for organizations with multiple clients or websites requiring similar functionality.
Feb 15, 2023 1,600 words in the original blog post.
An extensive tutorial demonstrates how to build an online bookstore using Strapi and iPay Africa APIs, enabling book purchases and downloads after successful transactions. The guide details setting up a Strapi server, creating a Vue.js front-end, and implementing secure payment processing with iPay’s STK push API, integrating features such as custom routes, controller extensions, and JWT-based authentication for the Vue application. It covers database schema design for storing book and sale details, ensuring secure payment handling with iPay’s PCI DSS standards, and facilitating regular payment automation through Strapi Cron Jobs. The tutorial also includes steps for setting up the Vue application with state management using Vuex and vue-persistedstate, and dynamic routing for accessing book details and handling user authentication. It concludes by providing resources for accessing the project’s source code and engaging with the Strapi community on Discord for further discussion and support.
Feb 09, 2023 5,805 words in the original blog post.
This tutorial guides users in creating a custom plugin for Strapi, a headless CMS, using OpenAI's text generation capabilities. The user creates a new Strapi project and sets up a custom field called "text-ai" that uses OpenAI to generate content based on a prompt input by the user. The generated text is then stored in the database and can be displayed in the admin panel or used in other parts of the application. To authenticate the API calls, the plugin uses an OpenAI API token stored in the Strapi configuration file. The tutorial also covers setting up a custom route to access the OpenAI service and handling errors that may occur during the generation process.
Feb 07, 2023 2,106 words in the original blog post.
The step-by-step tutorial series provides a comprehensive guide on integrating Strapi, an open-source headless CMS based on NodeJS, with Kubernetes, a leading container orchestration system. This series is divided into two parts: the first focuses on building the foundational elements and achieving an intermediate deployment, while the second targets a highly available deployment and advanced topics. The text outlines the use of various technologies and tools, such as Docker, Helm, and k3d, to create a robust application deployment environment. It emphasizes best practices in managing and configuring Docker images, persistent storage, and environment variables using Kubernetes' ConfigMaps and Secrets. Additionally, the tutorial highlights the importance of version control, especially in Docker images, and offers insights into deploying applications across different environments like development and production. Furthermore, it introduces Strapi Cloud as an option for developers looking to offload infrastructure management, underscoring Strapi's commitment to providing flexible hosting solutions. The guide is practical, providing commands and configurations to support the setup process, while also encouraging developers to tailor solutions to their specific needs.
Feb 03, 2023 6,345 words in the original blog post.
The tutorial series provides a comprehensive guide on integrating Strapi, an open-source headless CMS, with Kubernetes to deploy robust and highly available applications. The guide is divided into two parts, with the first focusing on building blocks and intermediate deployment, while the second delves into advanced topics like high availability, security, and resource management. The series covers configuring Kubernetes probes for application health monitoring, setting up storage using Network File System (NFS) for data persistence, and implementing scaling strategies through Horizontal Pod Autoscalers (HPA) and resource requests. It also touches on security best practices by configuring security contexts and stresses the importance of monitoring with tools like Prometheus and Grafana. Additionally, the guide provides practical examples and code snippets to facilitate the deployment and scaling of Strapi applications on Kubernetes, addressing the complexities and nuances of real-world deployments.
Feb 03, 2023 6,119 words in the original blog post.