Skip to content

jolouie7/webuy-frontend

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

61 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This is the Frontend of Webuy

You will need the Frontend and the Backend in order to make the web app work Webuy Backend

Webuy

Webuy is a E-commerce site where you can sell your products to many users.

Technologies used

Ruby on Rails, PostgreSQL, React, Redux

Features

  • Sign Up, using JWT
  • Sign In, using JWT
  • Add and Delete items to cart, using LocalStorage
  • Checkout, Using Stripe API

Demo

Webuy Demo

Live Site

Installation

Installation assumes that you are using OS X or Linux We will also be using homebrew. Recommend to install Homebrew Installations will be for both frontend and backend

Backend Installation

Make a new directory, then change into that directory. Within that directory:

Clone the project on your local machine

git clone git@github.com:jolouie7/webuy-backend.git

Change into the webuy-backend directory

cd webuy-backend

Install dependencies by using bundler

bundle install

We will be using postgres as our database for this project. If you haven't please install it, postgres

  • After you finish installing postgres make sure you have it running before proceeding

Create your database, migrate, and seed the data for the database.

rails db:create
rails db:migrate
rails db:seed

Start your rails server

rails s

FrontEnd Installation

Within the direcrory that holds your webuy-backend but not in webuy-backend:

Clone the project on your local machine

git clone git@github.com:jolouie7/webuy-frontend.git

Change into the webuy-frontend directory

cd webuy-frontend

Use the package manager npm to install webuy.

npm install

Make sure the your postgres database is running

Start up a development server

npm start

Runs the app in the development mode.
Open http://localhost:3000 to view it in the browser.

Features to add in the future

  • Add my orders for users to see their past orders
  • Add carousel, allowing the buyer to scroll to more products in the same category
  • Send the buyer a email confirmation
  • Create a workable search bar

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

License

MIT

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published