Implement Random Greeting API Endpoint (Back-End)#1
Conversation
cynthiainga
left a comment
There was a problem hiding this comment.
Hi @PabloBona,
Your project is complete! There is nothing else to say other than... it's time to merge it ![]()
Congratulations! 🎉
Highlights
- The route is created ✔️
- Controller with one action is created ✔️
- Correct Gitflow ✔️
- No linters errors ✔️
Optional suggestions
Every comment with the [OPTIONAL] prefix won't stop the approval of this PR. However, I strongly recommend you take them into account as they can make your code better. Some of them were missed by the previous reviewer and addressing them will really improve your application.
Cheers, and Happy coding!👏👏👏
Feel free to leave any questions or comments in the PR thread if something is not 100% clear.
Please remember to tag me in your question so I can receive the notification.
As described in the Code reviews limits policy you have a limited number of reviews per project (check the exact number in your Dashboard). If you think the code review was unfair, you can request a second opinion using this form.

This pull request addresses the following requirements for the Hello Rails Back-End project:
📖 Hello Rails Back-End
Hello Rails Back-End is a Rails API app that provides random greetings through an API endpoint. This project meets the following requirements:
🛠 Project Requirements
Create a Rails API app called 'hello-rails-back-end'.
Initialize the project with Git.
Set up a Postgres database and create a table for storing messages.
Populate the table with 5 different greetings.
Create an API endpoint that selects a random greeting from the table.
/api/greetings/random, has been implemented to select and return a random greeting from the 'messages' table.This back-end application is designed to work in conjunction with the Hello Rails Front-End project.
This is the PR for the Front-end