Re-exports§
pub use dev::setup_development;
Modules§
Structs§
- AppConfig
- AppData
- Struct that holds shared data for the application
- Attachment
- Attachment
Blob - Attachment
Data - Database
- wrapper function for a database pool
- Default
Mail Templates - Mailer
- struct used to handle sending emails
- Storage
Traits§
- Email
Templates - 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,