Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # Code challenge
- ## Description
- As a code challenge, you need to build the following **RoR** apps through the following steps:
- 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);
- 2. **app1**: the user should be able to *filter* posts by their `description`;
- 3. **app1**: expose the authentication via an `API`;
- 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).
- 5. **app2** just show posts from any registered user to **app1** logged in users.
- ## Instruction for the candidate
- * 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.
- * Automated testing for the implemented parts is a **strict requirement**.
- * When done create a MR to this repository containing the sources and the run instructions.
- Fell free to use whatever gem you want, no need to reinvent the wheel 🙂
- If something is not clear, please ask.
Add Comment
Please, Sign In to add comment