A restful json API, data models and a few helpful utilities
The /signup
endpoint makes sure the supplied username
and email address are unique and creates new User
and
Account
documents.
When supplied valid credentials, the /login
endpoint
creates a new Session
. We've also included
endpoints for resetting a forgotten password.
The /contact
endpoint demonstrates the built-in email
utility. By composing Handlebars and Markdown, personalized emails
with HTML and text parts share one template.
User
documents store login credentials and roles.
Frame ships with two roles; Account
and
Admin
.
Frame also ships with an Admin
grouping facility
(AdminGroup
). Think about these like departments;
sales, support, manager, etc...
Permissions can be granted to an AdminGroup
or
individually for an Admin
. Admin
permissions will win over their group's permission.