Code Monkey home page Code Monkey logo

angularjs-authy's Introduction

AngularJs-Authy

This is simple AngularJS sign up and signin web application using Twilio Authy Onetouch and SoftToken and is ready to install the Angular framework and a bunch of development and testing tools.

Getting Started

To get you started you can simply clone the AngularJs-Authy repository and install the dependencies:

Prerequisites

You need git to clone the AngularJs-Authy repository. You can get git from http://git-scm.com/.

You must have node.js and its package manager (npm) installed. You can get them from http://nodejs.org/.

Clone the AngularJs-Authy repository using git:

git clone https://github.com/omeryounus/AngularJs-Authy.git cd angularjs-authy

We can simply do:

npm start

Behind the scenes this will call 'npm install' to install all the dependencies in package.json

node_modules - contains the npm packages for the tools we need

Now browse to the app at http://localhost:3000.

Directory Layout

api/                 --> all the web APIs for server side
public/              --> all of the source files for the frontend side
css/app.css           --> default stylesheet
controller/           --> all app specific controller
services/             --> all app specific services
views/                --> the views template and logic
app.js                --> main application module
index.html            --> app layout file (the main html template file of the app)

package.json         --> all npm package manager
server.js            --> express framwork web APIs 
karma.conf.js        --> config file for running unit tests with Karma

Testing

Running Unit Tests Unit test is written in Jasmine, which can run with the Karma Test Runner.There is Karma configuration file to run them.

the configuration is found at karma.conf.js
the unit tests are found next to the code they are testing and are named as ..._spec.js.

The easiest way to run the unit test is to use the supplied npm script:

npm test

You can also start the karma test using karma cli commands:

karma start

angularjs-authy's People

Contributors

omeryounus avatar

Stargazers

 avatar

Watchers

 avatar  avatar

angularjs-authy's Issues

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.