Skip to content

honeybadgerhackers/Swappr

Repository files navigation

Drawing

Swappr

Item trading made easy

Deployed Site

You can find Swappr running here

What is it?

Swappr is an app for item swapping. Items are traded by just a name and a description. The user can either reject the trade or accept it, offering their own item in exchange. If there is a match, they are given info about the other person to set up a trade.

Using Swappr

Signing in: You’ll first be brought to a sign in page where it’ll ask for you to log into your Google account. After you do that, you’ll be directed to our main page which will refer you to our adding process Add Items: Once you sign in, you’ll need to add some items to get started, simply follow the directions by adding a name and description to the items you’re willing to swap. If there is a group of items together you want to trade, you’ll need to have it under one listing. Check Offers: After you have your own listings set up, you can now see what other people in the area have to trade, you can either click “Wanna Trade?” to offer something of your own to trade, or click “No Thanks” to get the next listing. Trade Items: If someone has approved of the same offer then you’ll get a message finalizing the trade. If approved by both parties you’ll be given contact information to reach them so you can make the trade.

Project Wireframe

Wire Frame

Database Schema

Database Schema

Project Set-up

Getting Started

First thing's first, run npm install. This project uses Postgres, so be sure to have that installed on your system.

Initializing the Database

Inside the app/config folder is a config.example.json file. Rename or copy this to config.json, and enter your credentials for your Postgres database. Once your database is set up, you will need to use the Sequelize CLI to initialize everything. Run the following commands from inside of the app folder using your command line interface of choice:

sequelize db:migrate
sequelize db:seed:all

If 'sequelize' is not a command, you may need to install the sequelize-cli globally. Otherwise, your database should be ready to go! After the database is initialized, you can npm start from the root of the directory to initialize the server.

Built By:

  • Scrum Master: Robert Aird
  • Product Owner: Zachary Gagnier
  • Team Members: Robert Aird, Zachary Gagnier, Patrick Brown

Built With:

  • Vue - Framework that Swappr is built on
  • PostgreSQL – Database that Swappr uses
  • DigitalOcean - Where Swappr is deployed currently
  • Auth0 - Authentication Service

Tech Stack

FAQ

Do I need to sign up for an account?

We use Auth0 for our authentication which signs in using a Google account. If you would like to sign into the service you'll need to create an account for it.

Can I offer multiple items for the same item?

As of right now, you can only engage in a 1 to 1 trade.

Support

LogoMakr - Assisted in creating the logo

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •