Strapi.io - Design APIs Fast

Design APIs fast, manage content easily.

Author

Ayush Gupta
Ayush GuptaSenior Software Engineer

Date

Nov 30, 2020

Strapi is a flexible, open-source Headless CMS that gives developers the freedom to choose their favorite tools and frameworks, while also allowing editors to easily manage and distribute their content. By making the admin panel and API extensible through a plugin system, Strapi enables the world's largest companies to accelerate content delivery while building beautiful digital experiences.

Why Strapi.io?

Strapi can generate an admin panel in a few clicks and get your whole CMS set up in a few steps.

Strapi’s admin panel gives you an intuitive interface to create, edit and delete your content and automatically creates logic to handle CRUD operations, including filtering and permissions.

It has a built-in user system that allows you to manage users Roles & Permissions

Moreso, every part of your application can be easily customized. Strapi’s architecture allows you to extend your app to match your exact use case and install plugins like GraphQL etc. to your application.

Strapi's Tech Stack

To build, deploy, and manage Strapi, use the following recommended frameworks and programming languages for best results:

Screenshot 2020-11-11 at 3.00.55 PM.png

How To Use Strapi-CLI.

Before you engage in creating a new project, it is very important to update your Node.js to (>v12.x). Go ahead and update it before reading on.

1. Create a new project:

If you want to use a specific database, you don’t have to use the --quickstart flag. The CLI will let you choose the database of your choice.

By default, create-strapi-app will generate an empty Strapi project. If you want an application that is pre-configured for a specific use case than you can use --template with template GitHub URL

2. Start the project:

Note: If created with --quickstart, then it will automatically run your application.

Navigate to http://localhost:1337/admin and create the first admin user.

  • Navigate to Content-Type Builder from the side panel under Plugins.
  • Click on + Create new collection type link and create a new collection.

Create a new collection

  • Add one or more fields for your collection.

Add fields for the Collection

  • Edit BASE SETTING and ADVANCE SETTING to add field names and properties.
  • Click finish to update all the fields to collection.
  • Finally, click Save to save the collection.

5. Add content to your collection

  • Navigate to COLLECTION TYPES from the side panel.
  • Click on the + Add New Restaurant button to add a new entry.

Add new content to the collection

  • Click on Save to update the changes.

6. Set roles and permissions

  • Navigate to SETTINGS > USERS & PERMISSIONS PLUGIN > ROLES
  • Click on Public Roles and scroll down to Permissions.

Screenshot 2020-11-12 at 1.23.12 AM.png

  • Change the Permission for the collections routes that can access without auth and can update the action for every route from Advanced Settings
  • Change the USERS-PERMISSIONS public routes.

Screenshot 2020-11-12 at 1.28.52 AM.png

Note: In a similar manner, we can update the Roles and Permissions for authenticated routes also.

Add plugins to your application

  • Navigate to Marketplace

Screenshot 2020-11-12 at 1.38.03 AM.png

  • Add your required Plugin for the application like Roles & Permissions for JWT authentication, GraphQL, etc.

    Note: Roles & Permissions are pre-installed if you created with --quickstart so, you only need to update the roles and permissions from the Setting tab.

Manage Your Media Library

  • Navigate to Media Library.
  • You can add/update/delete your media assets from a single panel here.

Media Libray

Additional Features:

We can create Themes and Components by using + Create New Single Type and + Create New Component in Content-Type Builder

Additional features

Conclusion

Here we are! Your collection is now accessible at http://localhost:1337/

Consume your API with your favorite frameworks as well as frontend or backend programming languages like React, Vue.js, React Native, Ruby and many more.

Find the complete example project on Github, and Postman files for Postman Collection and Postman Environment at the links.

Thank you for reading!

SHARE ON

Related Articles.

More from the engineering frontline.

Dive deep into our research and insights on design, development, and the impact of various trends to businesses.

How We Built an AI System That Automates Senior Solution Architect Workflows
Article

Apr 6, 2026

How We Built an AI System That Automates Senior Solution Architect Workflows

Discover how we built a 4-agent AI co-pilot that converts complex RFPs into draft technical proposals in 15 minutes — with built-in conflict detection, assumption surfacing, and confidence scoring.

AI Code Healer for Fixing Broken CI/CD Builds Fast
Article

Apr 6, 2026

AI Code Healer for Fixing Broken CI/CD Builds Fast

A deep dive into how GeekyAnts built an AI-powered Code Healer that analyzes CI/CD failures, summarizes logs, and generates code-level fixes to keep development moving.

A Real-Time AI Fraud Decision Engine Under 50ms
Article

Apr 2, 2026

A Real-Time AI Fraud Decision Engine Under 50ms

A deep dive into how GeekyAnts built a real-time AI fraud detection system that evaluates transactions in milliseconds using a hybrid multi-agent approach.

Building an Autonomous Multi-Agent Fraud Detection System in Under 200ms
Article

Apr 1, 2026

Building an Autonomous Multi-Agent Fraud Detection System in Under 200ms

GeekyAnts built a 5-agent fraud detection pipeline that makes decisions in under 200ms — 15x cheaper than single-model systems, with full explainability built in.

Building a Self-Healing CI/CD System with an AI Agent
Article

Mar 31, 2026

Building a Self-Healing CI/CD System with an AI Agent

When code breaks a pipeline, developers have to stop working and figure out why. This blog shows how an AI agent reads the error, finds the fix, and submits it for review all on its own.

Maestro Automation Framework — Advanced to Expert
Article

Mar 26, 2026

Maestro Automation Framework — Advanced to Expert

Master Maestro at scale. Learn architecture, reusable flows, CI/CD optimization, and how to eliminate flakiness in production-grade mobile automation.Master Maestro at scale. Learn architecture, reusable flows, CI/CD optimization, and how to eliminate flakiness in production-grade mobile automation.

Scroll for more
View all articles