OKAccounts for NodeJS Free Download


User account management and payments in NodeJs made easy.

Making a website, with users and credit card payments? When doing that, not only do you have to code the main thing that your site does, but you also have to code account management and payments as well, which can be tedious, and 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 what you really need to focus on.


  • 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

Tech Stack

  • NodeJs
    • 100% ES6 Javascript goodness!
  • Koa
    • HTTP Server
  • MongoDb
    • NoSql Database
  • Stripe
    • Credit card payments


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!


The server is available under Envato’s standard licensing terms:

  • The dated 23 February 2015
    • Purchase this licence if your application is free for your end users
  • The dated 23 February 2015
    • Purchase this licence if your application charges your end users

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 . These are distributed separately.


Support is provided under . 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, .


Brendan Graetz

Next steps

  1. Purchase OKAccounts
  2. Follow the provided installation instructions
  3. Add your own APIs to the server

   View Demo     Download