Frame

A user system API for Node.js

Live Demo on Heroku

Core features

A restful json API, data models and a few helpful utilities

Signup

The /signup endpoint makes sure the supplied username and email address are unique and creates new User and Account documents.

Login

When supplied valid credentials, the /login endpoint creates a new Session. We've also included endpoints for resetting a forgotten password.

Email Utility

The /contact endpoint demonstrates the built-in email utility. By composing Handlebars and Markdown, personalized emails with HTML and text parts share one template.

Users & Roles

User documents store login credentials and roles. Frame ships with two roles; Account and Admin.

Admin Groups

Frame also ships with an Admin grouping facility (AdminGroup). Think about these like departments; sales, support, manager, etc...

Permissions

Permissions can be granted to an AdminGroup or individually for an Admin. Admin permissions will win over their group's permission.