Signup and Auth examples for SaaS Web App
Software-as-a-Service usually provides its service after a user has created an account and authenticated. The web-app service in the Golang SaaS Starter Kit has extensive functionality for signup and authentication.
Go Templates for the Signup and Auth pages
The web app pages for signup and auth use these base layout:
saas-starter-kit/blob/master/cmd/web-app/templates/layouts/base.gohtml
Once the user is authenticated, the base layout wraps the content pages with this additional partial layout:
saas-starter-kit/blob/master/cmd/web-app/templates/partials/app-wrapper.tmpl
Go Signup template for Web App
In order for your SaaS offering to deliver its value to your customer, they need to subscribe first. Users can subscribe using this signup page. The signup page creates an account and a user associated with the new account. This signup page also uses some cool inline validation.
https://example.saasstartupkit.com/signup
saas-starter-kit/blob/master/cmd/web-app/templates/content/signup-step1.gohtml
Go Dashboard template for Web App
Once a user has subscribed to your SaaS and are authenticated, they are directed to the Dashboard page. This is an example of what could be rendered to a user upon authentication.
https://example.saasstartupkit.com/
saas-starter-kit/blob/master/cmd/web-app/templates/content/root-dashboard.gohtml
Go User Login template for Web App
After a user has an account, they can login to your web app. Once logged in they will have access to all pages that require authentication. This login page also uses some cool inline validation.
https://example.saasstartupkit.com/user/login
saas-starter-kit/blob/master/cmd/web-app/templates/content/user-login.gohtml
Go User Logout functionality of Web App
Go Forgot Pass templates for Web App
If a user forgets their password, the example web app includes working functionality allowing them to reset their password. Once the user submits their email address, the web app sends them an email that includes an encrypted link to a page that allows them to reset their password.
example.saasstartupkit.com/user/reset-password
saas-starter-kit/blob/master/cmd/web-app/templates/content/user-reset-password.gohtml
Provide Feedback via our Google Slides
If you would like to provide us feedback on any of these screen captures and associated functionality, you are welcome to publicly comment on our Google Slides: