Crates.io | dorsal |
lib.rs | dorsal |
version | 0.1.7 |
source | src |
created_at | 2024-06-03 22:21:48.078016 |
updated_at | 2024-06-27 20:59:30.269478 |
description | Backbone server structure of Stellular projects |
homepage | https://github.com/stellularorg/dorsal |
repository | https://github.com/stellularorg/dorsal |
max_upload_size | |
id | 1260539 |
size | 41,051 |
Dorsal is the backbone server structure of Stellular projects! It contains the base SQL helper modules and basic server helpers that make projects supporting sqlite
, mysql
, and postgresql
easy to start and expand.
src/
dorsal_example/
The Dorsal example also includes support for the user authentication base that is provided by Guppy, however this is not required.
Add the package as a dependency:
cargo add dorsal
You can then model after the template project.
You can clone only the dorsal_example/
directory with the command below:
PROJECT_NAME="dorsal_example" &&
git clone --depth=1 https://github.com/stellularorg/dorsal $PROJECT_NAME &&
cd $PROJECT_NAME &&
git sparse-checkout set --no-cone dorsal_example &&
mv dorsal_example ../tmpdex &&
cd ../ &&
sudo rm -r $PROJECT_NAME &&
mv ./tmpdex $PROJECT_NAME &&
cd $PROJECT_NAME