Coder Social home page Coder Social logo

yrsdi / angular-login Goto Github PK

View Code? Open in Web Editor NEW

This project forked from lunardidev/angular-login

0.0 3.0 0.0 1.13 MB

User Authentication (with signup) using AngularJS and PHP

License: MIT License

JavaScript 37.58% HTML 25.46% ApacheConf 0.24% PHP 29.10% CSS 7.62%

angular-login's Introduction

angular-login

User Authentication (signup, login, logout) using angularJS, php and mysql

This is a simple and responsive user authentication webapp built with angularJS. It use Sass CSS which makes it easy to modify.

Requirements:

  • Php
  • Mysql
  • Node.js
  • Grunt
  • Bower
  • Ruby
  • Composer
  • Sass

Automation with Grunt

Grunt is a JavaScript task runner (Automation), save yourself from repetitive tasks. Install project dependencies with npm install.

npm install grunt --save-dev

How to run this app?

  • Run Grunt with: grunt.
  • Run Grunt with PHP: grunt php

You'll need to put the files on a server to run it. So you can upload the "dist" folder to your server to run it. Or you can build a server locally. Then how to build a server locally?

You can build a locally server using WAMP or MAMP (if you uses PHP). And here we'll build a local server with NodeJS

Preparation: You'll need to install Node.js (NPM comes along with it) and node-static (an NPM package)

How to distribution this app?

Run Grunt with: grunt build

How to test this app?

Run Grunt with: grunt test

Logs

karma_log.html

phpunit_tests.html

phpunit_tests.log

Javascript: using jasmine. Dir: test/spec

Php: using phpUnit. Dir: test. phpunit

How to Use It? (Sass Version, The Default)

In order to do development with it, you'll need have the following tools installed:

Node.js (NPM comes along with it) Yeoman (if you are using npm 1.2.10 or above, this will also automatically install Bower, Grunt) for modern workflow. Ruby, Sass and Compass for Sass CSS.

Introduction to the important files:

  • ".bowerrc": is used for config Twitter Bower

  • "bower.json": is the JSON file of Twitter Bower

  • "Gruntfile.js": is the configure file of Grunt. It is used to configure or define tasks and load Grunt plugins.

  • "package.json": is the JSON file of Grunt. This file is used by npm to store metadata for projects published as npm modules. You will list grunt and the Grunt plugins your project needs as devDependencies in this file.

  • "test/phpnit/composer.json": is used for config phpUnit

  • "test/karma.conf.js": is used for config karma for test javascript (tasks).

angular-login's People

Contributors

ffariasdev avatar schmidt34 avatar

Watchers

 avatar  avatar  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.