Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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.
- Host: GitHub
- URL: https://github.com/thiagohrcosta/rails-yelp-mvp
- Owner: thiagohrcosta
- Created: 2021-04-13T21:36:53.000Z (almost 4 years ago)
- Default Branch: master
- Last Pushed: 2021-04-16T00:28:51.000Z (almost 4 years ago)
- Last Synced: 2024-12-09T05:42:54.004Z (2 months ago)
- Topics: bootstrap4, css3, html5, javascript, ruby, ruby-on-rails, scss-framework, sqlite3
- Language: Ruby
- Homepage:
- Size: 1.92 MB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Yelp MVP
## 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
## 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;