realworld-rust-rocket:Rust + Rocket RealWorld框架实现

时间:2021-05-08 05:21:07
【文件属性】:
文件名称:realworld-rust-rocket:Rust + Rocket RealWorld框架实现
文件大小:83KB
文件格式:ZIP
更新时间:2021-05-08 05:21:07
Rust 真实世界 创建该代码库的目的是演示使用构建的完整的全栈应用程序,其中包括CRUD操作,身份验证,路由,分页等。 我们竭尽全力遵守社区风格指南和最佳实践。 有关如何与其他前端/后端一起使用的更多信息,请转至库。 更新日志 请查看以了解发行历史。 入门 安装 # install rustup curl https://sh.rustup.rs -sSf | sh rustup install nightly # start postgresql and seed the database psql -f init.sql cargo install diesel_cli --no-default-features --features " postgres " diesel migration run cargo run 测验 只需运行: cargo test 您也可以检查邮递员/新人
【文件预览】:
realworld-rust-rocket-master
----init.sql(133B)
----.env(120B)
----Cargo.toml(1KB)
----Cargo.lock(34KB)
----migrations()
--------2018-02-15-210142_create_comments()
--------2018-01-22-100014_create_favorites()
--------.gitkeep(0B)
--------2018-01-17-111620_create_users()
--------00000000000000_diesel_initial_setup()
--------2018-01-22-100158_create_follows()
--------2018-01-21-124435_create_articles()
----src()
--------schema.rs(1KB)
--------db()
--------models()
--------main.rs(64B)
--------config.rs(2KB)
--------errors.rs(2KB)
--------auth.rs(2KB)
--------lib.rs(2KB)
--------routes()
----rust-toolchain(7B)
----.travis.yml(524B)
----LICENSE(1KB)
----README.md(2KB)
----logo.png(39KB)
----tests()
--------users.rs(5KB)
--------Conduit.postman_environment.json(500B)
--------Conduit.postman_collection.json(39KB)
--------common.rs(3KB)
--------test.sh(103B)
--------dev.http(4KB)
--------tags.rs(294B)
--------Conduit.postman_integration_test_environment.json(455B)
--------profiles.rs(1KB)
--------articles.rs(8KB)
----.gitignore(44B)
----CHANGELOG.md(466B)

网友评论