All Projects → Scrivito → Scrivito_example_app_js

Scrivito / Scrivito_example_app_js

Licence: mit
Scrivito is a JavaScript-based SaaS Content Management Service, built for digital agencies and medium to large sized businesses. This example app shows Scrivito’s features and is a great basis for your own Scrivito website projects.

Programming Languages

javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to Scrivito example app js

Textpattern
A flexible, elegant, fast and easy-to-use content management system written in PHP.
Stars: ✭ 572 (+753.73%)
Mutual labels:  cms, content-management, content-management-system
Laracms
LaraCMS 是在学习 laravel ( web 开发实战进阶 + 实战构架 API 服务器) 过程中产生的一个业余作品,试图通过简单的方式,快速构建一套基本的企业站同时保留很灵活的扩展能力和优雅的代码方式,当然这些都得益Laravel的优秀设计。同时LaraCMS 也是一个学习Laravel 不错的参考示例。
Stars: ✭ 588 (+777.61%)
Mutual labels:  cms, content-management, content-management-system
Personal Management System
Your web application for managing personal data. <[email protected]>
Stars: ✭ 2,027 (+2925.37%)
Mutual labels:  cms, content-management, content-management-system
Laravel 8 Simple Cms
Laravel 8 content management system for starters.
Stars: ✭ 444 (+562.69%)
Mutual labels:  cms, content-management, content-management-system
Strapi
🚀 Open source Node.js Headless CMS to easily build customisable APIs
Stars: ✭ 41,786 (+62267.16%)
Mutual labels:  cms, content-management, content-management-system
Quokka
LOOKING FOR NEW MAINTAINER - Quokka is a Content Management System - `docker run --rm -it -p 5000:5000 quokka/quokka`
Stars: ✭ 2,198 (+3180.6%)
Mutual labels:  cms, content-management, content-management-system
Cms
Multilingual PHP CMS built with Laravel and bootstrap
Stars: ✭ 2,342 (+3395.52%)
Mutual labels:  cms, content-management, content-management-system
Flextype
Hybrid Content Management System with the freedom of a headless CMS and with the full functionality of a traditional CMS
Stars: ✭ 436 (+550.75%)
Mutual labels:  cms, content-management
Fullycms
Fully CMS - Multi Language Content Management System - Laravel
Stars: ✭ 465 (+594.03%)
Mutual labels:  cms, content-management-system
Postleaf
Simple, beautiful publishing with Node.js.
Stars: ✭ 520 (+676.12%)
Mutual labels:  cms, content-management
Coderedcms
A content management system for marketing websites based on Django and Wagtail.
Stars: ✭ 386 (+476.12%)
Mutual labels:  cms, content-management-system
Simpla
Open, modular, and serverless content management for a modern web
Stars: ✭ 534 (+697.01%)
Mutual labels:  cms, content-management
Pagekit
Pagekit CMS
Stars: ✭ 5,455 (+8041.79%)
Mutual labels:  cms, content-management
Kirby
Kirby's core application folder
Stars: ✭ 436 (+550.75%)
Mutual labels:  cms, content-management
V8 Archive
Directus Database API — Wraps Custom SQL Databases with a REST/GraphQL API
Stars: ✭ 486 (+625.37%)
Mutual labels:  cms, content-management
Airship
Secure Content Management for the Modern Web - "The sky is only the beginning"
Stars: ✭ 422 (+529.85%)
Mutual labels:  cms, content-management
Typo3.cms
The TYPO3 Core - Enterprise Content Management System. Synchronized read-only mirror of http://git.typo3.org/Packages/TYPO3.CMS.git
Stars: ✭ 761 (+1035.82%)
Mutual labels:  cms, content-management
Fae
CMS for Rails. For Reals.
Stars: ✭ 701 (+946.27%)
Mutual labels:  cms, content-management-system
Zola
A fast static site generator in a single binary with everything built-in. https://www.getzola.org
Stars: ✭ 7,823 (+11576.12%)
Mutual labels:  cms, content-management-system
Cms
Statamic 3: The Core Composer Package
Stars: ✭ 965 (+1340.3%)
Mutual labels:  cms, content-management-system

Scrivito Example App JS

CMS: Scrivito License: MIT Travis build status GitHub last commit GitHub top language

Scrivito is the world's most secure, serverless JavaScript CMS. Based on ReactJS, it is completely maintenance-free, cost-effective, and has unprecedented security. Learn more about Scrivito at scrivito.com.

This example app shows Scrivito’s features and is a great basis for your own Scrivito website projects.

Features

Scrivito is a SaaS Content Management Service, built for digital agencies and medium to large sized businesses.

It is the only CMS that combines unmatched WYSIWYG usability for editors with maximum flexibility for developers – because it is at the forefront of the current JavaScript web development revolution.

And because Scrivito is 100% serverless, you'll never have to patch your CMS, so it's the most secure and cost-effective solution on the market.

Getting Started

Sign up for a free trial at my.scrivito.com/signup.

Once you have a Scrivito tenant, it's time to do some development.

Clone repository

git clone https://github.com/Scrivito/scrivito_example_app_js.git

cd scrivito_example_app_js/

Install/check prerequisites

Make sure that you have node ≥ 10.0 and npm ≥ 6.0 installed.

node -v
# should output something like v10.16.3

npm -v
# should output something like 6.14.4

Install dependencies

Now simply call npm install in the command line to install all JS dependencies (which are placed in the folder node_modules/).

Specify the Scrivito CMS to use

The Scrivito example app JS requires the tenant ID of your CMS. The ID is taken from the environment variable SCRIVITO_TENANT. The environment variable can also be set via .env.

To specify it, proceed as follows:

  • Go to your Scrivito Websites.
  • Click the CMS to use.
  • Open the “Settings” tab.
  • Scroll down to the “Anonymous access for the Scrivito Javascript SDK” section.
  • Copy the value after SCRIVITO_TENANT= to the clipboard.
  • In the project directory, open/create the file .env and paste the ID after the SCRIVITO_TENANT key. The file should then look like this:
SCRIVITO_TENANT=0123456789ABCDEF0123456789ABCDEF

See .env.example for an example.

Set other authorized URLs

To enable resource sharing between your CMS and your web application, specify the URL of your app in the CMS settings.

  • Like above, navigate to the “Deployment” tab of the CMS to use with your app.
  • Make sure that http://localhost:8080 is added to the "Other authorized URLs".

See Getting Started with ScrivitoJS for more information.

How to develop

Calling npm start will start a webserver, which listens to localhost:8080 and opens this URL in your browser. It should also automatically reload the page after changes to the code (in src/) have been made.

Your first change

To see development in action, let's change the ButtonWidget so that it prefixes all buttons with your favorite emoji.

Open up the react component responsible for rendering a ButtonWidget. It's located at src/Widgets/ButtonWidget/ButtonWidgetComponent.js. Now look for the Scrivito.LinkTag and insert

{"🚀 "}

before

{text}<i className="fa fa-angle-right fa-4" aria-hidden="true" />

After saving the file, your browser should automatically reload http://localhost:8080 with your new emoji button. Of course you can choose another emoji, check out emojipedia.org.

How to generate page and widget classes

For having the scaffolds of new CMS object and widget classes conveniently created, a Yeoman-based generator is included. It adds the folder and files needed as a minimum for a class to the project, and provides the basic code and configuration for it to work. For details on how to use the generator and what it effects, see Using the Example App's Page and Widget Class Generator. For a quick start, run it like so:

npx yo scrivito

How to build/compile

Calling npm run build will compile all JS, HTML and CSS and place it in the build/ folder. It also creates a build.zip file, which can be deployed via my.scrivito.com.

Documentation

Comprehensive documentation is available at scrivito.com/documentation. Feel free to reach out to us if you have any questions.

Have fun!

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].