CMS
The Total.js content management system: pages, layouts, navigation, widgets, posts and files with an admin interface, a JSON API and no database to install.
What is the Total.js CMS: pages, layouts and widgets with no database
The Total.js CMS is a content management system on Total.js 5 with an admin interface, pages, layouts, navigation, widgets, posts, files, redirects, variables, a sitemap and visitor statistics, MIT licensed and with no database to install.
Install the Total.js CMS and sign in the first time
Run the CMS with Node.js or Docker on port 8000, sign in with the login and password it generates at the first start, learn the three ways to authenticate the admin and where the data of the site lives.
Pages, layouts, navigation, variables and redirects in the Total.js CMS
How the CMS turns a layout and a page into a public address: the element with id CMS, the fields of a page, variables, navigation scripts written with Tangular, redirects, the sitemap and which pages are visible.
Widgets in the Total.js CMS: use them in a page and write your own
How a widget appears in the HTML of a page (the data-cms attribute and its JSON), the parts of a widget file, the CLASS placeholder, rendering a widget on the server with exports.render and installing widgets through the API.
The CMS widgets repository: 43 widgets and how to add them
A tour of totaljs/cms-widgets, the official widgets of the Total.js CMS: what they cover, which ones render on the server, how db.json is generated and how to install a widget from a file.
The admin API of the Total.js CMS: manage a site from code, backup and restore
The JSON API behind the CMS admin at /admin/: the call format, the actions of each plugin and their permissions, uploading files, and the three routes for backup, restore and clear, including what clear really does.
CMS settings, posts, files, visitors and where everything is stored
The settings of the Total.js CMS, the posts manager, how uploaded files are served and resized, the visitor statistics and the dashboard, the OpenPlatform integration and the data model of the site.