OKAccounts

User account management and payments in NodeJs made easy.

Making an app or website, with users and credit card payments?
When doing that, not only do you have to code
the main thing that your app or site does,
but you also have to code user account management and
and credit card payment processing logic as well.
To say that can be tedious is an understatement,
and it will take a lot of steam out of
what you really want to focus on.

... Well not any more!

The good news is that OKAccounts provides a starter NodeJs server
with all those APIs already built in.
Which frees you up to focus your coding efforts on
the core functions of your app or site!

Features

Sign up

With email confirmation

Log in

Token based authentication

Role based authorisation

Reusable & extensible middleware

Credit card payments

Based on APIs

JSON responses

Ideal for native apps & single page applications

Easy to integrate

Detailed up instructions provided

Descriptive comments to help you understand what is going on

Robust, reliable

Well tested with comprehensive integration tests and code coverage

What customers say

Tech Stack

NodeJs

100% ES6 Javascript Goodness!

Koa

HTTP Server

MongoDb

NoSQL Database

Stripe

Credit Card Payments

EzAccounts

What happened to EzAccounts?

EzAccounts used a legacy version on NodeJs (v0.10.x),
was written in ES5 Javascript,
and used the Express library.

OKAccounts is its successor, and a complete rewrite.

It uses the current LTS version of NodeJs (v4.x.x),
and is written is ES6 Javascript.
It also uses the KoaJs instead of Express.

This new combination has allowed the code to be rewritten
such that it is easier to read and understand,
and therefore easier to maintain and support.
More importantly, this makes it easier for you
to develop your own APIs for your site!

Do review the full details of the licences from the pages linked above.

The tests for this module are a separate project, and available under
GPL-3.0.
These are distributed separately.

Support

Support is provided under
Envato’s standard support terms.
Six months of support is included with the purchase,
with an option to purchase additional support periods.
Support requests can be raised through Envato after purchase.

Please let me know if you have any issues or requests
in the Comments section for this item.

If you have a new test case in mind,
or feel like one of the tests could be improved,
please submit a pull request to,
or create an issue ticket at,
okaccounts-tests.