Crate create_rust_app

Source

Re-exports§

pub use dev::setup_development;

Modules§

auth
dev
net

Structs§

AppConfig
AppData
Struct that holds shared data for the application
Attachment
AttachmentBlob
AttachmentData
Database
wrapper function for a database pool
DefaultMailTemplates
Mailer
struct used to handle sending emails
Storage

Traits§

EmailTemplates
A trait that defines the behavior of an email template

Functions§

render_single_page_application
‘route’: the route where the SPA should be served from, for example: “/app” ‘view’: the view which renders the SPA, for example: “spa/index.html”
render_views
takes a request to, say, www.you_webapp.com/foo/bar and looks in the ./backend/views folder for a html file/template at the matching path (in this case, ./foo/bar.html), defaults to index.html
setup
ensures required environment variables are present,

Type Aliases§

Connection
Pool