Skip to content
  • Shop
  • DMCA
  • My account
  • Orders
  • Downloads
  • Contact Us
  • Newsletter

    Sign up for Newsletter

    Signup for our newsletter to get notified about sales and new products. Add any text here or remove it.

    [contact-form-7 id="7042" title="Newsletter Vertical"]
  • Languages
    • You need Polylang or WPML plugin for this to work. You can remove it from Theme Options.
Yerenwg StoreYerenwg Store
  • Menu
    • No products in the cart.

      Return to shop

  • Cart

    No products in the cart.

    Return to shop

  • Shop
  • DMCA
  • My account
  • Orders
  • Downloads
  • Contact Us
    • Contact
    • 08:00 - 17:00
    • +16468288756
Home / Scripts & Code
  • Optic Zoom - Realistic Glass Magnify jQuery Plugin
  • Easy 360° Product Viewer
Browse
  • .NET
  • Add Ons
  • Advertising
  • After Effects Templates
  • Android
  • Bags
  • Blog Magazine
  • Booking
  • BuddyPress
  • Calendars
  • Category .NET
  • Clothing
    • Hoodies
  • Corporate
  • Creative
  • DaVinci Resolve Templates
  • eCommerce
  • eCommerce
  • Education
  • Entertainment
  • Final Cut Pro Templates
  • Forms
  • Forums
  • Free Download
  • Galleries
  • HTML5
  • Interface Elements
  • iOS
  • Javascript
  • Media
  • Membership
  • Men
    • T-Shirts
  • Miscellaneous
  • Mobile App
  • Mobile Apps
  • Motion Graphic Videos
  • Music
    • Albums
    • Singles
  • Native Web
  • Newsletters
  • Nonprofit
  • Odoo
    • Accounting
    • All In One
    • Books
    • Construction
    • CRM
    • Discuss
    • Document Management
    • Ecommerce
    • Elearning
    • Expenses
    • Extra Tools
    • Free
    • Human Resources
    • Inventory
    • Invoicing
    • Management
    • Manufacturing
    • Medical
    • Point Of Sale
    • Product
    • Projects
    • Purchase
    • Sales
    • Services
    • Themes
    • Uncategorized
    • Website
  • PHP Scripts
  • PHP Scripts
  • Posters
  • Premiere Pro Templates
  • Product Uncategorised
  • Real Estate
  • Retail
  • Scripts & Code
  • Scripts & Presets
  • Scripts & Presets
  • Seo
  • Shoes
  • Site Templates
  • Site Templates
  • Social Networking
  • Special
  • Special
  • Stock Footage
  • Sweaters
  • Technology
  • Utilities
  • Video Effects
  • Wedding
  • Widgets
  • Women
    • Jeans
    • Tops
  • WordPress Plugins
  • WordPress Plugins
  • WordPress Themes
  • WordPress Themes
Recently Viewed
  • Treo - Angular 11+ Admin Template Treo Angular 11+ Admin Template $5.00
  • eShop Web- eCommerce Single Vendor Website | eCommerce Store Website eShop Web- eCommerce Single Vendor Website | eCommerce Store Website $9.00
  • Multipurpose Business HTML Template - Lala Multipurpose Business HTML Template Lala $4.00
Add to wishlist
NodeJs Ez Accounts

NodeJs Ez Accounts

$9.00

Categories: Javascript, Scripts & Code Tags: account, api, authentication, express, Javascript, json, json web token, node, node.js, nodejs, Scripts & Code, user
  • Description

Description

EzAccounts

User account management system in NodeJs made easy. EzAccounts provides a starter NodeJs server that allows you to build your own sites.

Many sites need the ability to have users create accounts, log in, log out, change their password, etc. When building your own sites, you need to code all that stuff, quite often, before you can get to the meat of what your site actually does. And it is cumbersome too.

… Well, not any more! With EzAccounts, it is plug and play. You do not need to worry about writing the code that deals with user accounts. Simply use the starter server, which has all that baked in, and start coding the main stuff on your site!

Features

  • Token based authentication
  • Role based authorisation
  • Credit card payments via Stripe
  • Sign Up for Accounts
    • Sends email to user, with activation instructions
  • Activate Account
    • Sends email to user confirming that account is active
  • Change Password for Account
  • Log In to Account
  • Log Out of Account
  • Change Roles on Account
  • All based on JSON APIs
    • Response in JSON
    • No need for web pages
    • Ideal for single page applications
    • Ideal for native apps
  • Uses MongoDB
  • Easy configuration, and easy modification
  • Well documented
    • Descriptive comments that document exactly what is happening
  • Well tested
    • Comprehensive integration tests: 68 scenarios
    • Comprehensive code coverage: 88% coverage

Deprecation notice

tl;dr= Get the newer edition instead: OKAccounts.

EzAccounts has gone through a complete rewrite.

EzAccounts was originally written when NodeJs v0.10.x was the current and most popular version of NodeJs deployed in production. Since then, however, the NodeJs community has made huge moves. NodeJs was forked as io.js, which released 3 major versions, and then io.js and NodeJs were merged together, and have released 2 more major versions.

Javascript’s language specification itself has also gone through a major change. ECMAScript 5 (ES5) was the current version of Javascript, but now it is ECMASCript 6 (ES6), introducing many new features.

Along with these major changes, the libraries available in NodeJs have been completely rewritten, and completely new ones have emerged and come into prominence; and a notable one has been Koa, which is a successor – in spirit – to express. This library makes extensive use of generator functions and yield statements – which are new and introduced in ECMAScript 6 – and have made writing asynchronous code much cleaner and easier to understand.

In light of all of these developments, EzAccounts has been rewritten from scratch, and the new edition comes with a new name: OKAccounts.

If you are currently using EzAccounts, you should strongly consider switching to OKAccounts, for the reasons listed above. You should continue using EzAccounts if you are:

  • restricted to using NodeJs v0.10.x, or
  • restricted to using ECMAScript 5, or
  • some other legacy code related reason.

OKAccounts preview

OKAccounts preview

Flag Counter

Flag Counter

Issues/ Requests

Please let me know 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, ezaccounts-tests.

Licence

This module is available dual licenced under

  • the Envato Regular Licence dated 30 April 2014
  • the Envato Extended Licence dated 30 April 2014

As such, this module is not available from the npm registry. Instead of npm installing this, you must copy the folder to the appropriate location.

Please purchase the regular licence if you wish to use this in an application that does not charge end users, and purchase the extended licence if you wish to use this in an application that does charge end users. Read the full details of the licences from the pages above.

The tests for this module are a separate project, and available under GPLv3. They are only included as part of this distribution as a convenience.

Author

Brendan Graetz

  • bguiz.com
  • @bguiz on twitter
  • @bguiz on github

If you already own EzAccounts, read on

Installation

First, install some prerequisites:

  • NodeJs and npm.
    • You should use NodeJs >= v0.10.29 && < v0.11.x
    • Follow instructions here.
  • MongoDB.
    • You should use MongoDB >= v2.4.9 && < v3.0.x
    • Follow instructions here.
  • OpenSSL.
    • Should be preloaded on most systems, otherwise, follow instructions here.

Next, in the folder where you have this module installed, run:

npm install

Usage

Configuration Settings

Configure the app.

cp config-settings.js.template config-settings.js

Then edit config-settings.js, to customise it for your site. Look at the defaults variable in config.js, and use that as a reference for what you should include in config-settings.js.

HTTP or HTTPS

Next, you will need to obtain SSL certificates in order to run your site over HTTPS. To do this, you will need to use openssl commands in the terminal, or purchase them from a certificate authority. Note that when users visit HTTPS sites using self-signed SSL certificates, warning messages will be displayed in the browser.

For your convenience, a pair of self-signed SSL certificates have been provided, private-key.pem, and public-key.pem. These are just so that you can get started quickly, and they should never be used in production.

To purchase SSL certificates from a certificate authority, follow this guide.

To create self-signed SSL certificates:

openssl genrsa -out private-key.pem 1024
openssl req -new -key private-key.pem -out certificate-request.csr
#This command is interactive, you will be prompted for various details about the owner of the certificate
openssl x509 -req -in certificate-request.csr -signkey private-key.pem -out public-key.pem

If you do not wish to do this, you can serve your site over HTTP instead. While this is OK for development purposes, you certainly should not be doing this in production. To do this edit config-settings.js and set config.server.https to false.

Note that SSL certificates expire with time, and it is good practice to set up an automated reminder/ notification in a calendar app such as Google Calendar or iCal, that lets you know that you need to deploy a new certificate. Your certificate authority might have a reminder feature for this, be sure to look out for that.

Run the server

Now run the server.

node start

Lastly, visit http://0.0.0.0:3000/ in your browser, or, if you are on Windows visit http://localhost:3000/ in your browser, and you should be served any static files placed in client/dist.

Use any HTTP agent to hit the various API end points, some common ones are:

  • Command line HTTP rest clients
    • curl
  • Browser plugin HTTP REST clients
    • Postman (Chrome/ Chromium)
    • RESTClient (Firefox)
  • Standalone desktop application HTTP REST clients
    • Fiddler
    • Charles

Quality Assurance

Quality assurance is provided through a combination of integration testing and code coverage.

Firstly, edit tests/config-settings.js. Change the values for payments.stripeApiKeyPrivate and stripeApiKeyPublic, to match your own test Stripe API keys. You should now be able to run your tests.

To run the integration tests:

npm run test

To run the code coverage:

npm run coverage
firefox blanket.html
# chrome-browser blanket.html # OR any other browser

The tests are are open source, and available at github.com/bguiz/ezaccounts-tests. They have been included here as a convenience.

If you would like to use the tests directly from the source:

rm -rf tests
git clone [email protected]:bguiz/ezaccounts-tests.git tests

Fin

That’s all folks!

 

1. All digital products are the most recent version, with no possibility of free updates. After payment, you can request an update to the most recent version for 7 days if a new version is released. Get free support within 7 days.

2. After the purchase is confirmed, download links will be available for 7 days. If a license is required, please contact us via email or ticket for assistance with activation. Our license is only valid for activation and does not include support.

3.mailto:contact We provide Mobile, PHP script installation services for $19.90. Please create a backup after installation as we do not support re-installation. For mobile app source code, we do not offer installation services.

4. If you have any questions, please contact us by email contact@yerenwg.store or create a ticket on this page

5. Please note that any digital products presented on the website do not contain malicious code, viruses or advertising. You will receive the original files from the developers. We do not sell any products that have been downloaded from other websites.

6. The response time can last up to 6 hours.

Related products

vCard SaaS - Business Card Builder SaaS - Laravel VCard Saas - NFC Card - With Mobile App
Add to wishlist
Quick View

Product Uncategorised

vCard SaaS Business Card Builder SaaS Laravel VCard Saas NFC Card With Mobile App

$82,525.00
FleetCart - Modern eCommerce CMS
Add to wishlist
Quick View

FleetCart Modern eCommerce CMS

$14.00
Academy LMS Offline Payment Addon
Add to wishlist
Quick View

Academy LMS Offline Payment Addon

$9.00
eShop Web- eCommerce Single Vendor Website | eCommerce Store Website
Add to wishlist
Quick View

eShop Web- eCommerce Single Vendor Website | eCommerce Store Website

$9.00
Shadow Strike - HTML5 Construct 3 Game
Add to wishlist
Quick View

Shadow Strike HTML5 Construct 3 Game

$58.00
Relaxly - Unlimited Hotel Booking Platform
Add to wishlist
Quick View

Relaxly Unlimited Hotel Booking Platform

$10.00
QRcdr - responsive QR Code generator
Add to wishlist
Quick View

QRcdr responsive QR Code generator

$9.00
SocialAI - Artificial Intelligence Based Social Media Automation & Marketing Tool (SAAS)
Add to wishlist
Quick View

SocialAI Artificial Intelligence Based Social Media Automation & Marketing Tool (SAAS)

$11.00
yerenwg.
yerenwg.
My Account
  • My Orders
  • My Downloads
  • My Account details
Useful Links
  • Contact Us
  • Terms of Service
  • DMCA
TOS (important Section)

All images and trademarks used on this website belong to their respective owners. We do not sell copyrighted works; we only provide access to temporary downloads or temporary use based on agreements with the owners. The images are intended for educational purposes only. Processing times may vary from 1 minute to 24 hours maximum on office days.

  • About
  • Blog
  • Contact
  • FAQ
Copyright 2025 © YERENWG
  • Shop
  • DMCA
  • My account
  • Orders
  • Downloads
  • Contact Us
  • Newsletter

Login

Lost your password?

Register

Your personal data will be used to support your experience throughout this website, to manage access to your account, and for other purposes described in our privacy policy.