July 2020 Summaries
12 posts from Strapi
Filter
Month:
Year:
Post Summaries
Back to Blog
Strapi introduces a starter project designed to empower marketers by providing them with greater control over corporate websites without relying on technical teams for updates, thereby reducing development cycles. Utilizing the open-source headless CMS Strapi, the starter employs technologies such as Next.js or Gatsby for static generation and preview modes, while also incorporating Tailwind CSS for easy theming. This approach is inspired by the architecture of Strapi’s own website and allows businesses to build flexible, easily maintainable websites. The starter, along with comprehensive documentation available on GitHub, aims to showcase the benefits of the Jamstack architecture and facilitate seamless content management.
Jul 30, 2020
298 words in the original blog post.
Derrick Mehaffy, a prominent member of the Strapi community, shares his journey from a casual user to a Solutions Engineer at Strapi, driven by his desire to explore new fields and his growing integration within the community. His role focuses on engineering solutions, assisting both the community and enterprise customers, and fostering unity among developers, content creators, and business owners. Mehaffy emphasizes the importance of Strapi's documentation as a critical tool for newcomers with limited development backgrounds and encourages users to engage deeply with the source code to fully realize Strapi's potential. New users are advised to start with the Getting Started guide and explore the public product roadmap for upcoming features while also contributing to the project on GitHub.
Jul 29, 2020
448 words in the original blog post.
You can create a new Strapi project by running `npx create-strapi-app` followed by your desired project name, and then choose the Gatsby blog starter. The Strapi server will run on `http://localhost:1337/admin`, while the Gatsby server runs on `http://localhost:3000`. This starter is fully customizable and open to contributions, allowing users to add new features or report bugs. By using this starter, you can try Strapi with a simple blog example and get started with creating your own project.
Jul 28, 2020
201 words in the original blog post.
The text provides a guide to creating a blog using a Gatsby starter with Strapi, encouraging users to experiment with Strapi and Gatsby through an example of a simple blog. The project is customizable and open-source, inviting contributions and bug reports from the community. It includes instructions for setting up locally using either Yarn or NPM and provides server URLs for Strapi and Gatsby. The text also offers resources for further assistance, such as a live demo and a community forum, and concludes with a personal note about Maxime, a member of the Strapi Growth team who enjoys contributing to the community.
Jul 28, 2020
203 words in the original blog post.
The latest version of Strapi (v3.1) introduces Role-Based Access Control (RBAC), a significant feature for managing admin user permissions within its content management system. Previously, Strapi admin users had either full or no access to settings and content-types, but with RBAC, users can now define specific privileges based on roles, enhancing security and governance. This update caters to various user needs, from personal bloggers requiring basic RBAC capabilities to enterprises demanding advanced features managed via Single Sign-On. Strapi Community Edition (CE) offers basic RBAC with three default roles and unlimited admin users, while Strapi Enterprise Edition (EE) provides advanced customization, including unlimited custom roles with granular permissions at the field level. Additionally, the update introduces logical operators for complex data queries, improving user experience, and encourages community contributions for future developments.
Jul 23, 2020
1,205 words in the original blog post.
The text provides a comprehensive tutorial on setting up a blog using Strapi as a backend and Gatsby for the frontend, employing TypeScript for added type safety. It guides the reader through the process of installing necessary tools, such as the Gatsby CLI and various plugins, and details the steps to create a Strapi project using the `create-strapi-app` command. The tutorial emphasizes the use of components in React to manage content efficiently and outlines the creation of data structures, such as articles and categories, within Strapi. Additionally, it explains how to configure Gatsby to fetch data from Strapi using environment variables and the `gatsby-source-strapi` plugin. The reader is also instructed on how to create pages for articles and categories using Gatsby’s `createPages` API, showcasing how to render content dynamically with GraphQL queries. The tutorial concludes by encouraging users to customize their projects, contribute to the community, and provide feedback to improve future tutorials.
Jul 13, 2020
4,079 words in the original blog post.
The tutorial provides a comprehensive guide on integrating Strapi with Stripe for creating an order management system in a Deliveroo clone application using Next.js, React, and GraphQL. It details the steps to set up a Strapi project, create a new content type for orders, and configure the Stripe API for handling payments securely without directly processing credit card information on the server. The guide includes code snippets for the backend Strapi API to manage order creation and the frontend components using the stripe-js library to create a checkout form and cart display. It also explains the use of Stripe's react-stripe-elements package for capturing and sending credit card data to Stripe. Additionally, the tutorial covers building and testing the checkout form and cart components, ensuring the application can process orders effectively while maintaining data security and compliance. The tutorial concludes with a preview of deploying the Strapi app on Heroku and the frontend on NOW, emphasizing community involvement in the Strapi ecosystem.
Jul 09, 2020
2,152 words in the original blog post.
The tutorial, updated by Fredrick Emmanuel and Paul Bratslavsky, is part of a series focused on creating a Deliveroo clone using Next.js, GraphQL, Strapi, and Stripe. It guides users through setting up a Strapi project and integrating a shopping cart feature using React Context API to manage state across different pages without prop drilling. The tutorial explains how to update the AppContext.js file to manage cart functionalities like adding, removing, and resetting items, and emphasizes the importance of storing cart data in cookies to preserve it through page refreshes. By utilizing Apollo Client and Next.js dynamic imports, it sets up a system to display restaurant dishes fetched via GraphQL queries, while allowing users to add these dishes to a cart component. The cart system is further integrated into the layout of the app, updating the navigation bar with user login information and providing functionality to log out. The tutorial concludes with a preview of the next steps, which involve setting up Stripe for payment processing and completing the order workflow.
Jul 09, 2020
2,098 words in the original blog post.
This tutorial helps developers build a deliveroo clone using Next.js, GraphQL, Strapi, and Stripe. The tutorial starts with creating a new Strapi project and defining the restaurant content type. It then guides users through adding restaurants to the database and exposing them as an API. The tutorial also covers integrating GraphQL with Strapi's built-in API and implementing Apollo client in the frontend application. Finally, it shows how to display the list of restaurants on the page using a search bar for filtering. Throughout the tutorial, users can learn about building REST endpoints, GraphQL queries, and integrating APIs with frontend applications.
Jul 09, 2020
1,482 words in the original blog post.
The tutorial is a part of a series on building a Deliveroo clone using Next.js, GraphQL, Strapi, and Stripe, focusing on creating and managing content types in Strapi, specifically for restaurants and dishes. It guides users through setting up a Strapi project, creating a 'dish' content type with various attributes including name, description, image, price, and a relation to restaurants. The tutorial details setting up roles and permissions, adding dishes via the Content Manager, and creating a route to display dishes for specific restaurants using their ID. The tutorial includes code snippets, such as a GraphQL query to fetch restaurant dishes and a utility function to convert cents to dollars. Users are directed to test their application on localhost and are given a preview of the next section, which will cover user authentication. The source code is available on GitHub, and the tutorial is credited to contributors Fredrick Emmanuel and Paul Bratslavsky, with acknowledgment of Ryan's contributions to the Strapi community.
Jul 09, 2020
803 words in the original blog post.
The text provides a comprehensive guide on deploying a Strapi project using Render, a fully-managed cloud platform, as part of a tutorial series for creating a Deliveroo clone with Next.js, GraphQL, Strapi, and Stripe. It begins with instructions on setting up a Strapi project using a command line, configuring a PostgreSQL database, and updating the database.js file to manage database connections. The guide explains deploying the Strapi app to GitHub and Render, setting up a PostgreSQL database, and using the Internal Database URL for connections. It also details configuring the Strapi admin panel, selecting roles and permissions, and deploying the Next.js code on Vercel. The tutorial emphasizes the importance of connecting GitHub, setting project details, and ensuring correct configurations, encouraging users to explore further customization and share their experiences.
Jul 09, 2020
1,116 words in the original blog post.
The project uses Strapi as its backend, Next.js as its frontend framework, GraphQL for data retrieval, and Stripe for payment processing. The authentication process involves using a JWT token to verify transactions on the server and store user data in a cookie. The application uses React Hooks to manage state and context. The login and register forms are handled using a custom `Form` component, which is used to create both the sign-up and log-in pages. The application uses Apollo Client for GraphQL queries and mutations, and the `useMutation` hook to handle authentication logic.
Jul 09, 2020
2,020 words in the original blog post.