Code Monkey home page Code Monkey logo

strapi-corporate-starter's Introduction

Strapi API

Available Scripts

In the project directory, you can run:

yarn

yarn installs all dependencies to make this project work.

yarn develop

yarn develop starts the server in developement environment and builds the administration panel. Open http://localhost:1337/admin to view it in the browser.

Strapi features used

Collection types

Users

Users are automatically created by Strapi. We don't use them in this project.

Pages

Each entry in this collection creates a new page. The slug attribute is used to build the page's URL. To create the root page of your site, leave the slug attribute empty. You can also create nested pages by replacing slashes (/) by double underscores (__).

If your website was yoursite.com, you'd be able to create these pages:

slug generated page
yoursite.com
contact yoursite.com/contact
customers yoursite.com/customers
customers__acme yoursite.com/customers/acme

By default, a page has the draft status. Once you're ready to make it public, set the status to published.

Single types

Global

Global is where we store the data for configs that have an impact on the entire site. It contains the default site metadata, as well as the navbar and footer contents.

Components

The Section folder contains components that are used to build your website pages. They contain the data required to display blocks of UI on the frontend.

The other folders โ€“ elements, links and meta โ€“ contain other data structures that are used in several places.

Dynamic Zones

The Pages collection type has a ContentSections collection which is a dynamic zone. It allows you to select a list of components in the Section folder. This is where you build your UI: you can pick your components, fill them with your data, reorder them.

strapi-corporate-starter's People

Contributors

capppo avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.