Giter Site home page Giter Site logo

adisonlay / shopoly Goto Github PK

View Code? Open in Web Editor NEW
0.0 2.0 0.0 13.67 MB

A Monopoly themed full-stack LAMP & React shopping cart app where shoppers can order items online.

Home Page: https://shopoly.adisonlay.com/

HTML 0.91% JavaScript 81.13% PHP 16.61% CSS 1.35%

shopoly's Introduction

Shopoly

A full-stack, single-page React e-commerce web application with a dynamic PHP API that allows shoppers to browse properties, add their items to a cart, and place orders online.

Technologies Used

  • React
  • Webpack 4
  • Material-UI
  • HTML5
  • CSS3
  • PHP
  • MySQL
  • AWS EC2

Live Demo

Try the application live at https://shopoly.adisonlay.com/.

Features

  • Shoppers can view the items for purchase.
  • Shoppers can view the details of an item.
  • Shoppers can add items to their cart.
  • Shoppers can view their cart summary.
  • Shoppers can update their cart item quantity.
  • Shoppers can remove items from their cart.
  • Shoppers can place an order.
  • Shoppers can view their order summary.
  • Shoppers can view their order history.

Development

System Requirements

  • npm 6 or higher
  • MySQL 5.7 or higher
  • PHP 7.2 or higher
  • Apache HTTP Server

Getting Started

  1. Clone the repository.

    git clone https://github.com/adisonlay/shopoly.git
    cd shopoly
  2. Install all dependencies with npm.

    npm install
  3. Add and enable the shopoly.localhost site on Apache web server using the provided virtual host configuration file (in the server directory).

    cp server/shopoly.localhost.conf /etc/apache2/sites-available
    a2ensite shopoly.localhost
    service apache2 restart
  4. Connect to MySQL and create a new database.

    mysql -u username -p
    CREATE DATABASE `shopoly`;
    quit;
  5. Configure MySQL database connection file dbconnection.php based on the dbconnection.php.config file (in the server directory). Include the host, username, and password for your database management system.

  6. Import the example database to MySQL.

    mysql -u username -p shopoly < shopoly.sql
  7. Start the project. Once started you can view the application by opening http://localhost:3000 in your browser.

    npm run dev

shopoly's People

Contributors

adisonlay avatar

Watchers

James Cloos avatar  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.