Giter Site home page Giter Site logo

phase-5-project's Introduction

Loren's Full-Stack E-Commerce Site, "Sell It!"

Introduction

I developed this app to demonstrate knowledge of Ruby on Rails with a React frontend while also utilizing Redux and primarily using Tailwind for styling. A user is able to securely log in/out while browsing audio gear and instruments that they can add to a cart and "purchase".

Getting Started

In order to use this application, you will need to clone the repository onto your machine, navigate into the directory and then do the following:

$ bundle install

Once finished installing, you will need to make sure there is data seeded into your database. Do this by executing the following in your console:

$ rails db:migrate db:seed

This will reset any data in the database and make sure you have good data to start with.

Then, start up a server to utilize the app:

rails s

And start your React server:

npm start --prefix client

The application should start in your browser and show you the homepage, where you can see a logo, login/signup buttons and pictures of gear being sold by other users. The user can navigate to see details of any item but must be logged in to add anything to a cart. Once logged in, the user has access to a profile page where they can see a list of their items for sale. Here they can choose to delete a listing or navigate to the listing page, where they will also be able to delete if necessary. Any items that are not listed by the current user can be added to a cart. If there are no active carts one will be made when adding something. Cart contents can be edited by either clicking Empty Cart, or clicking the Remove button next to each item in the cart. Upon checkout, a cart is made uneditable, as it is now considered a purchase.

Errors

If you have database errors, try these commands to check and restart the server:

service postgresql status
sudo service postgresql restart

Future Plans

Here is a list of the future plans I have in mind for this project:

  • Adding functionality to items to allow for more than 1 item to be sold at once and be taken from an item's available qty upon purchase.
  • I want a user to be able to edit their listing.
  • Update the menu to be a hover dropdown rather than a line of links/logos.
  • I plan to change some of the navigation and clean up my Redux store significantly in the coming days.
  • I plan to go over the entire project to make sure it is as accessible as possible, similar to the functionality of the Sign Up and Login pages.
  • Significant styling cleanup, especially for carts and item cards.
  • I plan to deploy this as part of a personal website portfolio.

phase-5-project's People

Contributors

loren-michael avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.