AvoRed Rust CMS implement with the help of axum web framework and surrealdb as database.
Please visit Demo AvoRed Rust CMS Admin
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.
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
- Admin Users
- Roles/Permissions
- Components
- Pages
- Collection
- SEO
- Asset Manager
- Rest API
- GraphQL API
- Content Workflow
- Web Framework (Axum)
- SurrealDB (Surreal DB)
- VIEW (Handlebars)
- Form Validation (Validator)
- Display Form Validation Error
- Flash messages
- Form validation middleware
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