Ignore project/ directory
Ignore IDE file
Refractor saveInvite method
Add test for missing attributes in JSON document when sending POST request to /invitations