
Discover strappy, a headless open-source cms for building modern api backends with node.js. Get the essential tools and workflows—node.js, npm/yarn, ntp, databases, vscode, and postman—to start fast.
Install and scaffold a Strapi project, choose sqlite or other databases, install dependencies with npm or yarn, run the development server, and set up the admin panel and env config.
Navigate the straps admin panel, manage content with collection types and single types, and control profile, interface language, dark or light mode, media library, plugins, and settings.
Learn how to use Strapi's content type builder to create collection types, single types, and components, and manage data with users and products in the content manager.
Explore additional field types in collection types, including boolean, rich text, json, email, date, password, media, enumerations, colors, unique identifiers, and relation fields, with defaults and validation.
Learn to create reusable address components that work across collections like restaurants and hotels, choosing single or repeatable configurations, and understand code generation and database updates on save.
Learn how to build reusable sections with dynamic zones in Strapi, creating hero, intro, and video intro components, then compose pages by ordering blocks in the content manager.
Understand single type versus collection type in the content type builder; single type stores one record like an about page, while collection types hold multiple entries.
Create and relate products and categories by adding a category field and a has-many relation, so each category has many products; connect comments to users and require superadmin confirmation.
Learn to use field selection and population in Strapi to fetch only specific product fields, relate comments to products, and deeply populate categories, images, and users.
Learn to use Strapi rest api filters to query data with simple and deep filtering, supports contains, equals, and case sensitivity, plus and/or/not logic and nested relations.
Master sorting and pagination in APIs: sort by id in ascending or descending order, combine sorts with and, apply filters, and control results with page number and page size.
Enable Strapi internationalization to manage multilingual content across entries, add languages like English and French, and translate fields such as title and description while preserving non translatable data.
Learn to export, import, and transfer data between Strapi instances with file backups, an encryption key, and flexible flags for contents, files, configurations, and remote transfers.
Learn authentication in Strapi, including registration, login, forget password, and password updates, and how public and authenticated roles guard content with JWT bearer tokens.
Learn how Strapi uses team roles and permissions to govern admin access, with predefined roles and a finance admin who can read and publish categories.
Learn to customize strapi controllers and routes, override find methods, and add custom actions for categories and products using content types, single and collection types, permissions, and entity services.
Explore lifecycle hooks in Strapi to trigger before and after create events, modify fields like price, and perform actions such as logging or sending notifications during backend workflows.
Explore Strapi cron jobs, powered by the node schedule package, to run functions at specific dates or times with recurrence and to perform actions like sending emails or updating data.
Configure email functionality with node mailer using smtp host, port, username, password, and default from and reply-to emails. Trigger emails on product creation and explore providers like SendGrid and Mailgun.
Configure email functionality with node mailer and templates to enable Strapi's forget password and reset password flows, including sending a token and updating the password.
Learn to set up Swagger documentation in Strapi, install the documentation plugin, and explore API endpoints and schemas with try out and pagination to document your backend.
Install the SEO plugin from the marketplace, configure meta title, description, image, and social details in the SEO component, and attach it to categories with slug-based identifiers.
Learn to integrate Cloudinary into a Strapi project, configure API keys and env variables, and enable media upload, transform, and delivery via Cloudinary's image and video APIs.
Install and test GraphQL in your project, query categories and products for id, title, and attributes. Explore meta pagination with page and page size, and note mutations, docs, and schemas.
Build a backend for a CMS news site, modeling articles and article categories in a many-to-many relation, with images, views, comments with approval and email notifications, and a users table.
Create collection types in the content type builder, including article category, article, comments, and users, with fields like article title, long content, image, views, and comment approval default false.
Model relationships between articles, article categories, comments, and users using many-to-many and one-to-many associations, including articles belonging to one user and comments linked to articles and users.
Create and publish articles across health, science, and technology, assign users and comments, add SEO fields, generate slugs, and configure SEO components for backend data management.
Configure email delivery with node mailer by setting env variables and default from and default reply to, then install, restart, and configure cloudinary in plugins.js.
Test endpoints by configuring roles, authenticating with a JWT token, and querying articles, categories, comments, and users to verify creation, publishing, and permissions.
Learn a faster way to populate deep relationships using populate equals with article categories, comments, and article authors, including users in comments.
Use Strapi's afterUpdate lifecycle to email the user when a comment is approved by the superadmin, populating the user and article data for the message.
Learn to fetch a single article by slug using Strapi's query engine API, override the find one method, and increment the article views on each request for seo and analytics.
Create a public route and controller method to fetch popular articles, ordered by views in descending order, limited to five, with an optional zero-views filter.
Set up a midnight cron task to fetch articles created in the last 24 hours. Email the article titles to all registered users using strapi queries and the email service.
Initialize a new repository with git init, stage and commit all files with git add, and publish the Strappy News CMS to a public GitHub repository on the main branch.
Deploy your Strapi CMS project to render or other platforms by creating a web service from a git repo, configuring environment variables, and redeploying on updates.
Welcome to “Master Backend Development with Strapi: 2024 Beginner to Pro”, a comprehensive course designed to take you from the basics of backend development to advanced topics using Strapi, a leading headless Content Management System (CMS). This course is perfect for beginners in backend development, frontend developers looking to expand their skill set, full-stack developers wanting to learn a new tool, web development students, and professionals transitioning into web development.
The course starts with an introduction to backend development fundamentals and the basics of Strapi, including how to navigate the admin panel and create collection types, components, dynamic zones, and single types. You’ll learn how to manage data effectively, querying, filtering, sorting, and paginating data, and implementing internationalization.
As we move into more advanced topics, you’ll learn how to manage user login and registration, assign team roles, create custom controllers and routes, use lifecycle hooks, schedule cron jobs, and manage emails. You’ll also learn how to integrate Strapi with Cloudinary for media management and GraphQL for querying data.
By the end of this course, you’ll have a comprehensive understanding of Strapi and will be able to use it effectively for backend development. You’ll be equipped with the skills necessary to create and manage a modern CMS from scratch to deployment. Join us on this journey to master Strapi and backend development in 2024!