Skip to content

TeamVastsea/klpbbs_qq_group_template_backend

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Rust Web Backend Template

Usage: cargo generate --git https://github.com/zrll12/rust_webserver_template.git

Architecture

.
├── migration/          # All your database schems (see https://www.sea-ql.org/SeaORM/docs/migration/writing-migration/)
└── src/
    ├── main.rs         # Project entry
    ├── controller/     # Router
    └── config/         # Config (Every config file is defiened into a struct)

You can use

lazy_static! {
    static ref CORE_CONFIG: CoreConfig = get_config("core");
}

to load your config.

If you have default key in your struct, it can generate files automatically

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages