Skip to content

sandcforge/TouchberryKeyServer

Repository files navigation

#Node-Login

node-login

###Environment Variables

  • DB_ENV = 'mongodb.atlas'
  • NODE_ENV = 'dev' || NODE_ENV = 'prod'

###Generate local SSL certificates

  • openssl genrsa 1024 > private.key
  • openssl req -new -key private.key -out cert.csr
  • openssl x509 -req -in cert.csr -signkey private.key -out certificate.pem

###Generate SSL certificates using greenlock-express

##Installation & Setup

  1. Install Node.js & MongoDB 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

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published