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