All Projects → TianLangStudio → rust_cms

TianLangStudio / rust_cms

Licence: Apache-2.0 license
使用Rust编写一个CMS(内容管理系统)可以做为个人博客,公司网站

Programming Languages

javascript
184084 projects - #8 most used programming language
CSS
56736 projects
rust
11053 projects
HTML
75241 projects

Projects that are alternatives of or similar to rust cms

actix-casbin-auth
Casbin Actix-web access control middleware
Stars: ✭ 40 (+25%)
Mutual labels:  auth, actix, actix-web
Hzdtf.foundation.framework
基础框架系统,支持.NET和.NET Core平台,语言:C#,DB支持MySql和SqlServer,主要功能有抽象持久化、服务层,将业务基本的增删改查抽离复用;提供代码生成器从DB生成实体、持久化、服务以及MVC控制器,每层依赖接口,并需要在客户端将对应实现层用Autofac程序集依赖注入,用AOP提供日志跟踪、事务、模型验证等。对Autofac、Redis、RabbitMQ封装扩展;DB访问提供自动主从访问,Redis客户端分区。特别适合管理系统。
Stars: ✭ 22 (-31.25%)
Mutual labels:  log, auth
Webapp.rs
A web application completely written in Rust. 🌍
Stars: ✭ 1,888 (+5800%)
Mutual labels:  diesel, actix-web
Tlog
Terminal I/O logger
Stars: ✭ 170 (+431.25%)
Mutual labels:  log, session
Actix-Blog
A personal blog powered by rust-lang and actix-web
Stars: ✭ 42 (+31.25%)
Mutual labels:  diesel, actix-web
partner
partner
Stars: ✭ 16 (-50%)
Mutual labels:  diesel, actix-web
iron-session
🛠 Node.js stateless session utility using signed and encrypted cookies to store data. Works with Next.js, Express, NestJs, Fastify, and any Node.js HTTP framework.
Stars: ✭ 1,729 (+5303.13%)
Mutual labels:  session, auth
spdlog setup
spdlog setup initialization via file configuration for convenience.
Stars: ✭ 68 (+112.5%)
Mutual labels:  config, log
app
Aplus Framework App Project
Stars: ✭ 338 (+956.25%)
Mutual labels:  config, session
crab
Golang API Framework
Stars: ✭ 57 (+78.13%)
Mutual labels:  config, log
Examples
Community showcase and examples of Actix ecosystem usage.
Stars: ✭ 2,090 (+6431.25%)
Mutual labels:  actix, actix-web
Co
Art of C++. Flag, logging, unit-test, json, go-style coroutine and more.
Stars: ✭ 2,264 (+6975%)
Mutual labels:  config, log
Actix Web
Actix Web is a powerful, pragmatic, and extremely fast web framework for Rust.
Stars: ✭ 12,723 (+39659.38%)
Mutual labels:  actix, actix-web
editor.sh
Yet another live programming environment for collaborative code editing and running.
Stars: ✭ 29 (-9.37%)
Mutual labels:  diesel, actix-web
roll
RPG dice roller with both Rust CLI and ClojureScript Web interfaces
Stars: ✭ 14 (-56.25%)
Mutual labels:  actix, actix-web
Thinkgo
A lightweight MVC framework written in Go (Golang).
Stars: ✭ 184 (+475%)
Mutual labels:  log, session
Gf
GoFrame is a modular, powerful, high-performance and enterprise-class application development framework of Golang.
Stars: ✭ 6,501 (+20215.63%)
Mutual labels:  config, session
hutplate
A Go library over standard net/http library with auth, session, err handling and more.
Stars: ✭ 28 (-12.5%)
Mutual labels:  session, auth
prettier-config-solidity
Prettier config optimized to reduce AST churn & conform to solidity spec
Stars: ✭ 28 (-12.5%)
Mutual labels:  config
actix-tensorflow-example
An example of using TensorFlow rust bindings to serve trained machine learning models via Actix Web
Stars: ✭ 40 (+25%)
Mutual labels:  actix-web

Rust CMS

这是个学习用项目,不要直接用于生产
It is a project for learning. Don't use it in production!!!.

功能

  • 登录登出
  • 文件上传  
  • 文章列表
  • 最新更新文章列表获取
  • 推荐文章列表获取
  • 文章发布 
  • 文章详情 
  • actix-web 样例
  • diesel 样例
  • session
  • 基于session的登录验证
  • Tera模板/自定义函数等
  • 支持Markdown
  • 我的文章页面
  • 支持审核发布状态 
  • 支持graphql

运行

如果已经安装了RustDocker 可以直接执行脚本运行

./bin/start.sh

脚本中会使用Docker初始化数据库并运行rust_cms,启动成功后就可以使用浏览器访问http://127.0.0.1:8088了

你也可以自己初始化数据库,无论如何 请先安装Rust

git clone [email protected]:TianLangStudio/rust_cms.git
cd rust_cms

  • 创建Mysql数据库 导入doc/rust_cms.sql
  • 修改conf/application_dev.yaml文件中的数据库链接配置 

cargo run


使用Rust编写的内容管理系统(CMS)

在项目rust_login的基础上增加CMS功能 开发中 进度可关注博客


build error

  1. throw an error when building third part lib Maybe it is because of the version conflict, you can remove the file named Cargo.lock then build again

  2. cannot find -lmysqlclient

    error: linking with cc failed: exit status: 1
    ....
    /usr/bin/ld: cannot find -lmysqlclient

    install mysqlclient then build again ex. install mysqlclient in Ubuntu

    sudo apt-get install libmysqlclient-dev

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].