Skip to content

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

Notifications You must be signed in to change notification settings

gallor/vanilla-form-validation

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published