Ruby on Railsweb app for trading your unwanted item for a better one.
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
Before you begin, ensure you have installed the latest version of:
- Clone this repo to your local machine
git clone <this-repo-url>
cdinto the cloned repo
- Ensure you have PostgreSQL running
rails db:createto create a database locally.
rails db:migrateto create tables into the database.
rails db:seedto create seed data.
rails sto run the server.
Upon log in / sign up with a valid email address, users can see all items currently 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.
Both users have to confirm in for a trade to occur. After trading, users have the option to leave a review about their experience.
For better user experience, users can leave questions about items they wish to trade and answer questions for their items.