Write an application that allows you to create a User via JSON and persist it to some sort of datastore. Return back the JSON object just created.
The requirements for the application are as follows:
- To start fork the repo
- The user model must have a first_name, last_name, email, social_security_number
- Require all fields, validate that email is in the proper format, and that social_security_number is 9 digits long.
- All requests should respond with the user object with only the following fields: first_name, last_name, email, and id
- There needs to be an 'index' view that responds with all of the Users in system
- There also needs to be a 'show' that responds with a specific user
- When finished open a pull request and assign it to the owner of this repo
Bonus:
- Add request specs that tests both a valid and invalid call to user create,show,and index requests
- Accept social security in either 000-00-0000 or 000000000 format