Nomen
所属分类:以太坊
开发工具:HTML
文件大小:59902KB
下载次数:0
上传日期:2018-04-05 00:54:43
上 传 者:
sh-1993
说明: 使用以太坊区块链进行去中心化身份验证的插件
(A plugin for decentralized authentication using the Ethereum blockchain)
文件列表:
LICENSE (1077, 2018-04-05)
bs-config.json (68, 2018-04-05)
build (0, 2018-04-05)
build\contracts (0, 2018-04-05)
build\contracts\Migrations.json (52354, 2018-04-05)
build\contracts\Registry.json (49039, 2018-04-05)
contracts (0, 2018-04-05)
contracts\Migrations.sol (515, 2018-04-05)
contracts\Registry.sol (643, 2018-04-05)
logo.png (13069, 2018-04-05)
migrations (0, 2018-04-05)
migrations\1_initial_migration.js (131, 2018-04-05)
migrations\2_deploy_contracts.js (123, 2018-04-05)
node_modules (0, 2018-04-05)
node_modules\.bin (0, 2018-04-05)
node_modules\.bin\babylon (25, 2018-04-05)
node_modules\.bin\browser-sync (35, 2018-04-05)
node_modules\.bin\dev-ip (23, 2018-04-05)
node_modules\.bin\errno (15, 2018-04-05)
node_modules\.bin\express (22, 2018-04-05)
node_modules\.bin\jsesc (18, 2018-04-05)
node_modules\.bin\json5 (19, 2018-04-05)
node_modules\.bin\lite-server (30, 2018-04-05)
node_modules\.bin\loose-envify (22, 2018-04-05)
node_modules\.bin\lt (25, 2018-04-05)
node_modules\.bin\nopt (19, 2018-04-05)
node_modules\.bin\prebuild-install (26, 2018-04-05)
node_modules\.bin\rc (14, 2018-04-05)
node_modules\.bin\regjsparser (25, 2018-04-05)
node_modules\.bin\rimraf (16, 2018-04-05)
node_modules\.bin\rlp (14, 2018-04-05)
node_modules\.bin\seek-bunzip (28, 2018-04-05)
node_modules\.bin\seek-table (32, 2018-04-05)
node_modules\.bin\semver (20, 2018-04-05)
node_modules\.bin\sha.js (16, 2018-04-05)
node_modules\.bin\solcjs (14, 2018-04-05)
node_modules\.bin\sshpk-conv (23, 2018-04-05)
... ...
#[Node-Login](https://nodejs-login.herokuapp.com)
[![node-login](./readme.img/node-login.jpg?raw=true)](https://nodejs-login.herokuapp.com)
###A basic account management system built in Node.js with the following features:
* New User Account Creation
* Secure Password Reset via Email
* Ability to Update / Delete Account
* Session Tracking for Logged-In Users
* Local Cookie Storage for Returning Users
* Blowfish-based Scheme Password Encryption
###Node-Login is built on top of the following libraries :
* [Node.js](http://nodejs.org/) - Application Server
* [Express.js](http://expressjs.com/) - Node.js Web Framework
* [MongoDb](http://mongodb.org/) - Database Storage
* [Jade](http://jade-lang.com/) - HTML Templating Engine
* [Stylus](http://stylus-lang.com/) - CSS Preprocessor
* [EmailJS](http://github.com/eleith/emailjs) - Node.js > SMTP Server Middleware
* [Moment.js](http://momentjs.com/) - Lightweight Date Library
* [Twitter Bootstrap](http://twitter.github.com/bootstrap/) - UI Component & Layout Library
##Installation & Setup
1. Install [Node.js](https://nodejs.org/) & [MongoDB](https://www.mongodb.org/) if you haven't already.
2. Clone this repository and install its dependencies.
> git clone git://github.com/braitsch/node-login.git node-login
> cd node-login
> npm install
3. In a separate shell start the MongoDB daemon.
> mongod
4. From within the node-login directory, start the server.
> node app
5. Open a browser window and navigate to: [http://localhost:3000](http://localhost:3000)
##Password Retrieval
To enable the password retrieval feature it is recommended that you create environment variables for your credentials instead of hard coding them into the [email dispatcher module](https://github.com/braitsch/node-login/blob/master/app/server/modules/email-dispatcher.js).
To do this on OSX you can simply add them to your .profile or .bashrc file.
export EMAIL_HOST='smtp.gmail.com'
export EMAIL_USER='your.email@gmail.com'
export EMAIL_PASS='1234'
[![node-login](./readme.img/retrieve-password.jpg?raw=true)](https://nodejs-login.herokuapp.com)
##Live Demo
A [Live Demo](https://nodejs-login.herokuapp.com) and [some thoughts about the app's architecture.](http://kitchen.braitsch.io/building-a-login-system-in-node-js-and-mongodb/)
For testing purposes you can view a [database dump of all accounts here](https://nodejs-login.herokuapp.com/print).
Note this database automatically resets every 24 hours.
##Contributing
Questions and suggestions for improvement are welcome.
近期下载者:
相关文件:
收藏者: