Skip to content
This repository was archived by the owner on Jun 23, 2019. It is now read-only.

Latest commit

 

History

History
37 lines (24 loc) · 1.29 KB

File metadata and controls

37 lines (24 loc) · 1.29 KB

PasswordGenerator

A Sails application meant to generate cryptologically sound and human friendly passwords.

You can use the api which is hosted right now here: https://bloodcurdling-fangs-2095.herokuapp.com

You can use the API like the following:

//using jQuery
var url = "https://bloodcurdling-fangs-2095.herokuapp.com/passwordgenerator/generator";
var getValues = {
    wordLimit : "100",
    allowNumbers : true,
    allowSymbols : true
};
$.get( url , getValues, function (data) {
    if (typeof(data.generated_password) !== 'undefined') {
        console.log(data.generated_password);
    } else {
        console.log(data.errors);
    }
});

Please note that the hosting for the API is a free hosting by Heroku. I don't know how long they will allow me to use a free account. So please consider donating. For any donations simply contact me via Twitter: @johnroach

Start application in your local box simply run:

sails lift

Thank you for using my API.

Visit my website @ johnroach.info

Bitdeli Badge