indpurvesh / avored-rust-cms

AvoRed rust cms

Home Page:https://avored.github.io/avored-rust-cms/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Avored Rust CMS

AvoRed Rust CMS implement with the help of axum web framework and diesel orm.

AvoRedCMS

Installation

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

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

// Install Sea ORM  CLI
cargo install sea-orm-cli

sea-orm-cli migrate up

// Now we will execute the cargo run

cargo run

Features

  • 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

Generate Sea Orm Cli Entity

sea-orm-cli generate entity -o entity/src

Generate Sea Orm Migration Fresh

 sea-orm-cli migrate fresh

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" ~}}

About

AvoRed rust cms

https://avored.github.io/avored-rust-cms/

License:MIT License


Languages

Language:Rust 40.0%Language:CSS 29.7%Language:Handlebars 29.6%Language:Shell 0.6%Language:Dockerfile 0.1%