gallor / vanilla-form-validation

Code challenge to implement a form validating server and client using vanilla client-side JS and Node/Express for backend

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Form Validation Coding Challenge

The following files and folders constitute my submission for a coding challenge to implement a form with live client side-validation and validating backend server that returns 201 on successful submit and 400 on invalid submit:

  • spec/ - Jasmine testing files for server
  • public/ - public facing JS, HTML and CSS files served to the browser
  • bin/ - Contains base www server

Tools used for the code submission:

  • Jasmine - Testing
  • NodeJS - Base Server
  • Express - Server Framework
  • Compass - SCSS style compilation

Installation

The app requires the global existance of node and npm. To install, extract zip file to desired location and run the following from within the extracted folder

$ npm install

To start the server, run:

$ npm start

To test, run:

$ npm test

Once server is running please navigate to localhost:3000 on your browser to interact with the form.

About

Code challenge to implement a form validating server and client using vanilla client-side JS and Node/Express for backend


Languages

Language:JavaScript 50.4%Language:CSS 42.1%Language:HTML 5.4%Language:Ruby 2.1%