Skip to content

MMADUs/Rust-Actix-Sea

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Rust Actix Web BoilerPlate

Rust Actix Web BoilerPlate using Sea ORM & JWT


Install sea orm cli

cargo install [email protected]

Generate migration directory for schema workspace to migration/src

sea-orm-cli migrate init

Generate a new table schema to the migration schema workspace -note consider deleting migration code in the main when deleting migration file

sea-orm-cli migrate generate table_name

Write and modify the db schema then migrate -note when creating relations, table order matters

sea-orm-cli migrate fresh

Generate entity files of database actixdb to src/internal/entity with serializer and deserializer

sea-orm-cli generate entity --with-serde both -o src/internal/entity

CLI Docs help

sea-orm-cli -h

About

Rust Actix Web BoilerPlate with Sea ORM

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages