Code Monkey home page Code Monkey logo

pizza-stop's Introduction

Pizza Stop

A full stack LAMP & React shopping cart app

Technologies Used

  • React.js
  • Webpack 4
  • Bootstrap 4
  • PHP
  • MySQL
  • CSS3
  • HTML5
  • AWS EC2

Preview

Desktop

pizza-stop-preview

Mobile

pizza-stop-mobile

Development

System Requirements

  • PHP 7.2
  • NPM
  • MySQL 8.0
  1. Clone the repository

    git clone https://github.com/christianparizeau/pizza-stop
    cd pizza-stop
  2. Install all dependencies with NPM.

    npm install
  3. Create a database in MySQL

    • phpmyadmin (Recommended)
    1. Log into phpmyadmin
    2. Create a new table (remember this name)
    • CLI
    1. In your terminal type to login, where username is your MySQL username. Default is root
    mysql -u username -p
    1. Enter your password for MySQL. Default is root
    2. Create a new Database, replace dbname with your choice name for the database
    CREATE DATABASE dbname;
  4. Import the example database to MySQL

    npm run db:import
  5. Edit the PHP config file

    1. Open your code editor of choice
    2. navigate to the server/api/_config.example.php file
    3. Rename it to _config.php
    4. Edit the fields as follows
    'user' => 'username'
    'pass' => 'password'
    'host' => 'localhost'
    'database' => dbname

    Where dbname is the name of the database you created earlier, username is your MySQL username, password is your MySQL password. Defaults are root

  6. Start the project. Once started you can view the application by opening http://localhost:3000 in your browser.

    npm run dev

pizza-stop's People

Contributors

christianparizeau avatar thebearingedge avatar dependabot[bot] avatar

Stargazers

Ján Bočínec avatar

Watchers

James Cloos avatar  avatar

Forkers

murshidmac

pizza-stop's Issues

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.