Skip to content

janetmndz/freetrade

Repository files navigation

Free Trade 🔁 ✨

A Ruby on Rails web app for trading your unwanted item for a better one.
Built with ❤︎ by Janet Mendez and Gulnoza Muminova-Boltaeva

Tech Stack

This web app makes use of the following:

  • Ruby [2.6.1]
  • Rails [~> 5.2.3] - MVC web framework
  • PostgreSQL [>= 0.18, < 2.0] - Database
  • SCSS [~> 5.0] - CSS pre-processor
  • bcrypt [~> 3.1.7] - Gem for encryption
  • Heroku - App deployment

Prerequisites

Before you begin, ensure you have installed the latest version of:

Installing

  • Clone this repo to your local machine git clone <this-repo-url>
  • cd into the cloned repo
  • run bundle install
  • Ensure you have PostgreSQL running
  • run rails db:create to create a database locally.
  • run rails db:migrate to create tables into the database.
  • run rails db:seed to create seed data.
  • run rails s to run the server.

Features

Upon log in / sign up with a valid email address, users can see all items currently being offered.

showing FreeTrade's dashboard upon login of items being offered

Users can make offers to take their item for another. Or, users can choose to accept an offer already made on one of their items by another user.

showing accepting an offer from another user

Both users have to confirm in for a trade to occur. After trading, users have the option to leave a review about their experience.

showing confirming an offer and the review dialog after confirmation

For better user experience, users can leave questions about items they wish to trade and answer questions for their items.

showing confirming an offer and the review dialog after confirmation