Skip to content

LaurensIT/mayfly-backend

Repository files navigation

mayfly-backend

What is mayfly?

Mayfly is a webapplication designed to securely send passwords to customers. Passwords are only retrievable once with the correct link. After trying it once, the password becomes inaccessible.

Passwords are not stored unencrypted and can only be decrypted with the information provided in a generated link.

To see mayfly in action, please visit https://mayfly.cyso.com/

Assumptions

Mayfly isn't tested on every possible platform. We assume the following setup:

OS: Ubuntu 14.04 TLS PHP Version 5.5 or higher with mcrypt and curl enabled. MySQL 5.5 or higher

Installation instructions.

First, check out the source. Next, install the dependencies etc. using Composer:

composer update

Edit bootstrap/start.php and add a production environment with your servers hostname.

$env = $app->detectEnvironment(array(
	'production' => array('mayfly-backend'),
));

Next, edit app/config/production/database.php and specify your username and password:

	'connections' => array(

		'mysql' => array(
			'driver'    => 'mysql',
			'host'      => 'localhost',
			'database'  => 'database',
			'username'  => 'username',
			'password'  => 'password',
			'charset'   => 'utf8',
			'collation' => 'utf8_unicode_ci',
			'prefix'    => '',
		),

Run the migrations:

php artisan migrate

About

No description, website, or topics provided.

Resources

License

Contributing

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages