Key Information

Register
Submit
The challenge is finished.

Challenge Overview

Cloud Hub wants to start associating charges we import in to the system to users if the data is present. We want to allow either a match on name or email today. 

Project Overview
Cloud Hub is trying to help their client solve the problem of knowing what software applications they are spending the most money on over time. Cloud Hub will take in data from credit cards and other sources and attempt to show what software the client has purchased and who is using the applications the most.

Requirements
1. Add new private function for add charge flow to check for user information. The object would look for user_type and user_value. Accepted types would be "name" and "email" today.
2. Depending on user_type look for existing user with the same company_id. If the user doesn't exist we want to create the user with role of "user" and status "A".
3. Set user_id in the charge object and remvoe user_type and user_value.
 

Final Submission Guidelines

1. Any additions or modifications to the code project pass on "npm run lint". Any modifications to the base project needs to pass the tests, npm run test.
2. Please include a git patch for easier integration of changes.
3. The bulk of your documentation should be in the Readme.md and you should assume that this will be open source so make sure you cover all the steps to set up,  If you have specific information that should not be included in a public readme (like links to your video) put them in a file called submission.txt and they will be omitted from the project if it is open sourced.

REVIEW STYLE:

Final Review:

Community Review Board

Approval:

User Sign-Off

SHARE:

ID: 30055361