/avored-rust-cms

Avored rust content management system

Primary LanguageRustGNU General Public License v3.0GPL-3.0

Avored rust content management system

AvoRed Rust CMS implement with the help of axum web framework and surrealdb as database.

AvoRedCMS

Join community via slack

Join community via Slack

Demo admin

Please visit Demo AvoRed Rust CMS Admin

Installation

git clone https://github.com/avored/avored-cms
cd avored-cms

Set up your .env file you can rename the existing .env.example file make sure the database username and password setup correctly.

Start your application

cargo run

Once the application start you can visit http://localhost:8080/setup this url will create database tables and admin user once you submit it and redirect to http://localhost:8080/admin/login

Features

  • Admin Users
  • Roles/Permissions
  • Components
  • Pages
  • Collection
  • SEO
  • Asset Manager

RoadMap

  • Rest API
  • GraphQL API
  • Content Workflow
Seting up full Stack project in RUST

Dev help

How to do a loop inside the handlebar template

{{#each validation_message as |message|}}
    {{ message.mssage }}
{{/each}}

How to render a variable in handlebar template

{{ variable_name }}

How to call heloper method in handlebar template

{{ helper_method_name "argument" ~}}

How to start a surrealdb surreal start --user root --pass root --bind 0.0.0.0:8000 file://test.db