Guest User

Untitled

a guest
May 27th, 2018
84
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.21 KB | None | 0 0
  1. # Code challenge
  2.  
  3. ## Description
  4.  
  5. As a code challenge, you need to build the following **RoR** apps through the following steps:
  6.  
  7. 1. The first one (**app1**): We’ll let an user *register* and then post comments. Each user can *write*, *read*, *update*, *list* and *destroy* **its own posts** (no images or whatever, just text);
  8. 2. **app1**: the user should be able to *filter* posts by their `description`;
  9. 3. **app1**: expose the authentication via an `API`;
  10. 4. create a second app (**app2**) that would share the login w/ the first app, via the aforementioned `API` (that is, an user A registered to **app1** can also log into **app2**; user data remains in **app1**’s DB).
  11. 5. **app2** just show posts from any registered user to **app1** logged in users.
  12.  
  13. ## Instruction for the candidate
  14.  
  15. * We’d like you to provide a small implementation of one or more of the parts described above, the choice is yours, the better you can in your available time.
  16. * Automated testing for the implemented parts is a **strict requirement**.
  17. * When done create a MR to this repository containing the sources and the run instructions.
  18.  
  19. Fell free to use whatever gem you want, no need to reinvent the wheel 🙂
  20.  
  21. If something is not clear, please ask.
Add Comment
Please, Sign In to add comment