Coder Social home page Coder Social logo

josesaribeiro / superlogin-demo Goto Github PK

View Code? Open in Web Editor NEW

This project forked from colinskow/superlogin-demo

0.0 0.0 0.0 41 KB

A sample single page app using SuperLogin, AngularJS, and PouchDB

License: MIT License

CSS 0.61% HTML 35.73% JavaScript 62.35% Shell 1.31%

superlogin-demo's Introduction

SuperLogin Demo

Live Demo

A sample single-page application built with SuperLogin, PouchDB and AngularJS, along with Angular Material.

For issues and feature requests visit the issue tracker.

Requirements

  • NodeJS
  • CouchDB
  • Redis

How to use

  1. npm install
  2. bower install
  3. (Optional) follow the instructions in env.example.sh to configure your access credentials
  4. Ensure Redis and CouchDB are running
  5. npm start

How to deploy to Heroku & Cloudant

  • Register with a DBaaS (Database as a Service) like Cloudant.
  • Enable CORS (cross origin Resource Sharing): Under Account go to CORS and enable this for All domains
  • Register with a PaaS (Platform as a service) like Heroku.
  • Create app & deploy superlogin-demo, see: Heroku: Getting started with Node.js
  • Enable the Redis addon.
  • In the app's settings, set the Config Variables, see: env.example.sh.
    • DB_HOST: yourcloudantusername.cloudant.com
    • DB_USER: yourcloudantusername
    • DB_PASS: yourcloudantpassword

Demonstrates These Projects

Powerful authentication for APIs and single page apps using the CouchDB ecosystem which supports a variety of providers.

Angular bindings for the SuperLogin project.

Simple 3-way sync between a remote database, memory, and disk using PouchDB.

superlogin-demo's People

Contributors

colinskow avatar colinsheppard10 avatar tohagan avatar peteruithoven avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.