# Quick Start Guide

WARNING

The Alpha version of Strapi is no longer supported, please use the Beta version. You can find the relevant documentation here.

Get ready to make Strapi up and running in less than 5 minutes 🚀

For a step-by-step guide, please take a look at the detailed tutorial.

# 1. Install Strapi globally

Please make sure Node.js and npm are properly installed on your machine.

npm install strapi@alpha -g

# 2. Create a new project

strapi new cms --quickstart

# 3. Create an admin user

Navigate to http://localhost:1337/admin.

  • Fill in the form.
  • Click Ready to start.

# 4. Create a Content Type

Navigate to PLUGINS - Content Type Builder.

  • Click the "+ Add Content Type" button.
  • Enter restaurant.
  • Click "+ Add New Field"
    • Click the String field.
    • Type name under the BASE SETTINGS tab, in the Name field.
    • Click Continue.
  • Click "+ Add New Field"
    • Click the Text field.
    • Type description under the BASE SETTINGS tab, in the Name field.
    • Click the ADVANCED SETTINGS tab, check Display as a WYSIWYG.
    • Click Continue.
  • Click the Save button and wait for Strapi to restart.

# 5. Manage and add data to Content Type

Navigate to CONTENT TYPES - Restaurants.

  • Click on + Add New Restaurant button. Type Strapi Restaurant in the Name field. Type Strapi restaurant is a cosy restaurant delivering one of the very fastest and nicest dining experiences in the world, combining nods to tradition with fierce modernity, warmth with daring. into the Description field.
  • Click Save.

You will see your restaurant listed in the entries.

# 6. Set roles and permissions

Navigate to PLUGINS - Roles & Permission.

  • Click the pencil edit icon to the right of the Public Role.
  • Scroll down under Permissions, find Restaurant. Click the checkbox next to find.
  • Click Save.

# 7. Consume the Content Type's API

Here we are! The list of restaurants is accessible at http://localhost:1337/restaurants.

CONGRATULATIONS

👏 Congratulations, you have now completed the Strapi Quick Start. Where to go next?