fallenpeace / strapi

Build powerful back-end with no effort. http://strapi.io/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Strapi Build Status Slack Status

Website - Getting Started - Documentation - Support

Strapi is an open-source Node.js rich framework for building applications and services.

Strapi enables developers to focus on writing reusable application logic instead of spending time building infrastructure. It is designed for building practical, production-ready Node.js applications in a matter of hours instead of weeks.

The framework sits on top of Koa. Its ensemble of small modules work together to provide simplicity, maintainability, and structural conventions to Node.js applications.

Getting started in a minute

Installation

Install the latest stable release with the npm command-line tool:

$ npm install strapi -g

Link to the Strapi Studio

We advise you to use our Studio to build APIs. To do so, you need to create a Strapi account. Go to the Strapi Studio to signup. Studio is dedicated to developers to build applications without writing any single line of code thanks to its powerful set of tools.

After creating an account on the Strapi Studio, you are able to link your machine to your Strapi Studio account to get access to all features offered by the Strapi ecosystem. Use your Strapi account credentials.

$ strapi login

Create your first project

You now are able to use the Strapi CLI. Simply create your first application and start the server:

$ strapi new <appName>

Note that you can generate a dry application using the dry option:

$ strapi new <appName> --dry

This will generate a Strapi application without:

  • the built-in user, email and upload APIs,
  • the grant hook,
  • the open-source admin panel,
  • the Waterline ORM (waterline and blueprints hooks disabled),
  • the Strapi Studio connection (studio hook disabled).

This feature allows you to only use Strapi for your HTTP server structure if you want to.

Start your application

$ cd <appName>
$ strapi start

The default home page is accessible at http://localhost:1337/.

Create your first API

The Strapi ecosystem offers you two possibilities to create a complete RESTful API.

Via the CLI

$ strapi generate api <apiName>

For example, you can create a car API with a name (name), year (year) and the license plate (license) with:

$ strapi generate api car name:string year:integer license:string

Via the Strapi Studio

The Strapi Studio allows you to easily build and manage your application environment thanks to a powerful User Interface.

Log into the Strapi Studio with your user account (http://studio.strapi.io) and follow the instructions to start the experience.

Strapi Studio Simply manage your APIs and relations thanks to the Strapi Studio.

Manage your data

Strapi comes with a simple but yet powerful dashboard.

Strapi Dashboard Create, read, update and delete your data.

Strapi Dashboard Manage user settings, login, registration, groups and permissions on the fly.

Resources

Links

About

Build powerful back-end with no effort. http://strapi.io/

License:MIT License


Languages

Language:JavaScript 99.7%Language:HTML 0.2%Language:Makefile 0.1%