Giter Site home page Giter Site logo

react-angular-validation's Introduction

ReactJS/AngularJS HTML5 validation

Registration form for new users with validation and sing up notification. Passwords should met following conditions:

  • must include one increasing straight of at least three letters, like 'abc', 'bcd' and so on, up to 'xyz';
  • may not contain the letters 'i', 'o' and 'l';
  • must contain at least two non-overlapping pairs of letters, like 'aa', 'bb' or 'zz';
  • cannot be longer than 32 characters;
  • can only contain lower case alphabetic characters.

Author: Roman Malieiev [email protected]

Project consists of two builds:

  • production optimised
  • development with source change watchers

Tech stack:

  • AngularJS
  • ReactJS/JSX
  • HTML5 validation
  • Webpack builder with plugins
  • Babel for ES6 support with ESLint
  • Sass integration
  • Jasmine unit tests
  • Protractor/Jasmine E2E tests

Installation

  1. Install Node.js/npm

  2. Navigate to the current folder

  3. Run:

    npm install

Running

Build for production:

npm run build

Run in development mode:

npm run server
npm run dev-angular
npm run dev-react

Angular version would be available at http://localhost:8080/angular; React version would be available at http://localhost:8080/react;

Tests:

npm run build
npm run server
npm run test-e2e-prepare
npm test

NOTE: Make sure Chrome/Chromium binary is in PATH

Possible improvements

  • SEO: ReactJS server rendering, AngularJS snapshots with Phantom.js

react-angular-validation's People

Contributors

romaleev avatar

Stargazers

 avatar

Watchers

 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.