Skip to content

Recipe Buddies is a desktop-first responsive app for cooking enthusiasts, built with Rails, Bootstrap, Postgresql, and Cloudinary.

License

Notifications You must be signed in to change notification settings

StarSheriff2/receipe-buddies

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Recipe Buddies - a cooking enthusiasts social media platform

This is a Rails social media platform for cooking enthusiasts where people can sign up and share their favorite recipes with others. Users can follow each other, write new opinions, or vote for any recipe recommendation they like.

About

Recipe Buddies is a social media platform built from scratch using Ruby on Rails, Bootstrap, CSS, SCSS, PostgreSQL, and Cloudinary for image cloud storage.

In this platform, users can signup and start sharing opinions on their favorite cooking recipes. Users can follow or unfollow other users (just like in Twitter) and vote or unvote for recipe opinions from other users (including their own).

Live Demo

Deployed on: HEROKU

Recipe Buddies app ⬅️⬅️ Click Here

Features

  • Sign up with a unique username and a full name
  • Upload a profile picture and a cover picture
  • Follow and unfollow other users
  • Share an opinion on a recipe
  • Vote for other opinions
  • Vote only once per opinion
  • See their followers and followed users
  • See the number of opinions created since their last logout

Built with

  • Ruby 3.0.1p64 (2021-04-05 revision 0fb782ee38) [x86_64-darwin17]
  • Rails 6.1.3.1
  • PostgreSQL 13.2
  • Bootstrap ^4.6.0
  • HTML5 / SCSS
  • Cloudinary (for image storing)
  • Rspec (testing)
  • Capybara >= 3.26 (testing)
  • Fontawesome
  • Mac OS
  • VS Code

App Screenshot


Homepage

homepage homepage_closeup

Profile page

homepage

Userpage

homepage

Login

homepage

Mobile - Homepage

mobile_homepage

Deployment

Requirements

  • Ruby 3.0.1p64
  • Rails 6.1.3.1
  • PostgreSQL 13.2
  • Cloudinary account
  • Linux/Mac Operating systems (preferred)

Setup and Installation

Clone / Download Repo

  1. Open your terminal or command prompt.
  2. If you do not have git installed in your system, skip this step and go to step 3; otherwise, go to the directory where you want to copy the project files and clone it by copying this text into your command prompt/terminal: git clone [email protected]:StarSheriff2/receipe-buddies.git.
    Now go to "Install Dependencies" section
  3. Download the program files by clicking on the green button that says “Code“ on the upper right side of the project frame.
  4. You will see a dropdown menu. Click on “Download ZIP“.
  5. Go to the directory where you downloaded the ZIP file and open it. Extract its contents to any directory you want in your system.

Install Dependencies

  1. If you are not in your system terminal/command prompt already, please open it and go to the directory where you cloned the remote repository or extracted the project files.
  2. While in the project root directory, type bundle install. This command will install all the necessary gems in your system.
  3. Then you can type yarn install --check-files.

Cloudinary Setup

You will need a Cloudinary account to be able to deploy this app locally. If you already have one, copy your YML file into the config folder; otherwise, create a new account by going to Cloudinary and signing up for a free account: https://cloudinary.com/.

Once you have your new Cloudinary account set up, follow these steps:

  1. Login with your new account
  2. Go to your Cloudinary dashboard
  3. Look for the YML file and click on it to download it cloudinary_yml_file
  4. Copy this file into your config folder

Database Setup

  1. Edit the "database.yml" file in your "config" folder:
    • Change the username and password under default: &default to your PostgreSQL local credentials or just delete lines 23 and 24 altogether
  2. Now, in your terminal, type bin/rails db:create to create your local databases.
  3. If successful, type bin/rails db:migrate to migrate the database.

You are all set now!

Testing

This project uses RSpec and Capybara for all testing. These gems are already in the Gemfile.

Note: You will need Chrome to make the integrations tests work, or you can optionally configure Capybara with your preferred browser.

To run tests go to the root dir of the repo in your terminal and type this: rspec .

Usage

  1. In your terminal, run bin/rails server while inside the root directory of the repository files
  2. Go to your browser of choice and enter this URL: http://localhost:3000/
  3. You can now create a new user, create opinions, follow other users on the platform and vote for any opinion

Author

👤 Arturo Alvarez

🤝 Contributing

Contributions, issues, and feature requests are welcome!

Show your support

Give an ⭐️ if you like this project!

Acknowledgments

Design:

Image credits:

Lato font:

📝 License

This project is MIT licensed.

About

Recipe Buddies is a desktop-first responsive app for cooking enthusiasts, built with Rails, Bootstrap, Postgresql, and Cloudinary.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published