Rails Velp MVP is a Ruby on Rails application designed as a minimal viable product for a Yelp-like review platform where users can explore and review local businesses.
- User Authentication: Secure signup and login functionalities.
- Business Listings: Users can add and view details of various businesses.
- Reviews and Ratings: Users can post reviews and rate businesses on a five-point scale.
- Search and Filter: Search for businesses by name or category and filter results.
- Ruby 3.1.0
- Rails 6.1.0
- PostgreSQL
-
Clone the repository:
git clone https://github.com/shliamin/Rails-Velp-MVP.git cd Rails-Velp-MVP
-
Install dependencies:
bundle install
-
Setup the database:
rails db:create db:migrate
-
Start the server:
rails server
- Click on "New Business".
- Fill out the form and click "Create Business".
- Click on a business name in the list to view its details.
- Click on "Edit" next to a business.
- Update the form and click "Update Business".
- Click on "Destroy" next to a business and confirm deletion.
GET /businesses
: List all businesses.GET /businesses/:id
: View a business.GET /businesses/new
: Form to create a new business.POST /businesses
: Create a new business.GET /businesses/:id/edit
: Form to edit a business.PATCH /businesses/:id
: Update a business.PUT /businesses/:id
: Update a business.DELETE /businesses/:id
: Delete a business.
Run the following command to execute the test suite:
rails test