This is a Technical Test I did for a job I applied for.
===================================
This is a very simple one-page application consisting of just one table (representing users of some company), and a form for creating new rows. To make it a little more complicated, we have written a 'framework' you will have to use. Bellow is set of simple tasks to perform.
- Create new MySQL database
- Rename
config/database
toconfig/database.php
and configure you database connection settings in this file - Import
database/schema.sql
into your database
- Style the page using Bootstrap:
- Every other table row should be highlighted.(DONE) (views/index.php)
- Use Bootstrap’s form-horizontal to style the form.(DONE) (views/index.php)
- Any other styling changes should be made based on your consideration. (DONE)
- Add a validation of the new records. (DONE) (create.php)
- Create a JS functionality to filter rows by city. (DONE) (index.js)
- Implement submission of the form using AJAX. (DONE)(index.js)
- Add column phone number to the table. (DONE)(schema.sql, create.php, user.php, index.js, views/index.php)
====================