Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/thiagohrcosta/rails-yelp-mvp

A simple project to build a two model Rails app with a restaurant and anonymous reviews.
https://github.com/thiagohrcosta/rails-yelp-mvp

bootstrap4 css3 html5 javascript ruby ruby-on-rails scss-framework sqlite3

Last synced: 18 days ago
JSON representation

A simple project to build a two model Rails app with a restaurant and anonymous reviews.

Awesome Lists containing this project

README

        

# Yelp MVP
![main banner](https://github.com/thiagohrcosta/rails-yelp-mvp/blob/master/public/img/restaurants1.png?raw=true)

## Technologies
This project was created with:

- [Ruby](https://www.ruby-lang.org/pt/)
- [Rails](https://rubygems.org/gems/rails)
- [ERB](https://ruby-doc.org/stdlib-2.7.1/libdoc/erb/rdoc/ERB.html) (for template system with Ruby)
- [Pry-byebug](https://rubygems.org/gems/pry-byebug/versions/3.4.0?locale=pt-BR) (for debugging)
- [Bootstrap](https://getbootstrap.com/)
- Simple_form
- Sqlite3

## Show
![restaurantimg](https://github.com/thiagohrcosta/rails-yelp-mvp/blob/master/public/img/restaurantreview.png?raw=true)

## How to run this project
Download or clone it. . Then run in the main folder the command `rails server`. If needed, run `bundle install` to check if all gems are correctly installed. Then open the project on `localhost:3000/restaurants`

## What user can do?
As user you can manipulate all **CRUD** operations like:

- Read reviews already created about some restaurant;
- Create new restaurant;
- Edit a restaurant;
- Delete a restaurant;
- Add a review;

## Development routine

**April 13**

- Project created;
- Prepare rails app with external specs;
- Bootstrap added;
- Jquery popper added;
- Simple_for,font-awesome and autoprefixer added;
- Model Restaruant and Model Review created;
- Restaurant Controller created;
- Controller Reviews created;
- Actions index, show and new created at controller;
- Adding validations on Restaurant model;
- Fix some error - Model controller for review;
- Creating relationships between Restaurant and Reviews;
- has_many, belongs_to;
- Adding validations to Review;
- Adding route do Review;
- Adding validates on category in Models Restaurant;
- Adding Faker;
- Adding restaurants view;
- Adding restaurant show view;
- Adding view to create restaurant using simple form;
- Review Controller and Restaurant Controller finished;
- New Review buttom - added;
- Generate migration to Add Image to Restaurants.

**April 14**

- Fix some typo to add images on each restaurant;
- Fix edit, update and delete routes;
- Index page - CSS added;
- Google fonts - Added;
- Upload images to use in readme;
- Adding CSS to restaurant btn;
- Edit and updat restaurant - CSS added;
- Submit Review btn - CSS added;
- Readme update;