Crate create_rust_app
source ·Re-exports
pub use dev::setup_development;
Modules
Structs
wrapper function for a database pool
struct used to handle sending emails
Functions
‘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”
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
ensures required environment variables are present,