This repository is a very bare-bones Ruby On Rails app called "Bark" that allows users to create and review restaurants. Feel free to use this repo and any work you put into it for whatever purpose you want.
- Fork this repository to your GitHub Account (Or download it directly if you want more anonymity)
- Get the app running in your local development environment
- Complete the tasks listed below.
- Commit your work as a new branch to YOUR OWN GitHub Account (or zip it and move to step 5 if you don't want it on your public profile)
- Let us know that you are done!
The newest reviews should be at the top of the list.
Users need to be able to delete their own reviews. There is already a button, but it doesn't work.
On the restaurant show page we need to see what it's 5 star rating is.
There seems to be some funky CSS hover animations going on, especially in the navbar. Clean these up so things are more readable and pretty.
We noticed that anyone can modify or delete any restaurant. Please make sure that only the restaurant owner has this access.
Our app doesn't have a home page yet! We'd like there to be one that lists all restaurants ranked by rating. If it was paginated that would be a plus!
Restaurant owners want to know when somebody reviews their place. Could we get emails sent to them when new reviews come in? Our app gets a ton of traffic, so let's not bog the web process down with slow actions like sending emails. ActionJob would be a great fit here.
This is just a play app, but we still want to see some tests written. No need for full test coverage, we just want to see some examples of how you think about and how you write tests. Note: This repo is setup and ready to go with plain old minitest. Feel free to install and use Rspec if that is what you're comfortable with!
We need restaurant owners to be able to upload photos of their restuarant and food. ActiveStorage would be great for this.
This app is getting old, it would be great if we could upgrade to Rails 7.
It would be cool if customers could submit photos with their reviews too.
Use StimulusReflex to make posting comments happen without a page reload and CableReady to make viewers see those same comments come in in real-time. The Hotwire is also a perfectly acceptable set of tools to make this happen.
Whoever designed this didn't do a great job. Take advantage of Bootstrap and add your own touch to make it look pretty.
Users could mark reviews they read as helpful. There should be a record of this so that they could later go back and see which reviews they marked as helpful in the past.