Giter Site home page Giter Site logo

primayoriko / choco-shop-web Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 1.68 MB

A chocolate shop web application that created with vanilla PHP, Javascript, and CSS (also HTML). Capable of doing authentication of the user, CRUD items with images, checkout and buying items, list of past transactions, etc.

Home Page: http://wangky-shop.infinityfreeapp.com/

PHP 82.00% CSS 18.00%

choco-shop-web's Introduction

Willy Wangky Chocolate Online Shop


Website Willy Wangky adalah website berbasis php yang digunakan untuk membeli coklat dari pabrik coklat terbesar dan terenak di dunia, Willy Wangky.

Website hasil deploy dapat diakses disini.

Dependency


  1. XAMPP
  2. Mozilla Firefox, sebab sejauh ini browser yang support aplikasi kami hanyalah Firefox. Kemungkinan besar ini karena ada masalah dengan policy/option method setcookie PHP sehingga kami tidak dapat menambahkan cookie dengan set cookie.
  3. inisialisasi database (menggunakan init_db.php dan init_dummy_data.php) pada MySQL, dapat menggunakan bawaan XAMPP atau install dengan MySQL sendiri.

How to Install


  1. install XAMPP
  2. masukkan path directory php.exe pada instalasi XAMPP ...xampp\php (biasanya terdapat di C:\xampp\php) ke dalam PATH environment variables.
  3. Edit file db_keys.config.php pada folder config berisi sebagai berikut:
         <?php
            define('DB_SERVER', 'INSERT YOUR SERVER URL');
            define('DB_USERNAME', 'INSERT YOUR USERNAME');
            define('DB_PASSWORD', 'INSERT YOUR PASS'); 
            define('DB_NAME', 'INSERT YOUR DB NAME'); 
         ?>
  1. Jalankan init_db.php pada folder config untuk generate database

How to Run


  1. Jalankan XAMPP

  2. Start Apache dan MySQL Module pada XAMPP

  3. Di direktori tempat repository berada, jalankan:

    php -S localhost:8000
    

    Sebagai contoh digunakan port 8000.

  4. Jalankan browser dan pergi ke link localhost:8000 . Sebagai contoh jika ingin pergi ke dashboard, pada project kami dapat dilakukan navigasi ke localhost:8000/src/dasboard.php

Screenshot dari Tugas


  1. Login login
  2. Register register
  3. Dashboard dashboard
  4. New Chocolate new-choc
  5. Search Result search
  6. Transaction History history
  7. Detail history
  8. Buy Chocolate history
  9. Add Stock history

Pembagian Tugas


Frontend

  1. Login: 13518125
  2. Register: 13518146, 13518125
  3. Dashboard: 13518135
  4. Chocolate Detail: 13518125, 13518135
  5. Buy Chocolate: 13518135
  6. Add Chocolate: 13518135
  7. Search Results: 13518125
  8. Transaction History: 13518135
  9. New Chocolate: 13518146, 13518125

Backend

  1. Login: 1351846
  2. Register: 13518146
  3. Dashboard: 13518135
  4. Chocolate Detail: 13518125
  5. Buy Chocolate: 13518125, 13518135, 13518146
  6. Add Chocolate: 13518125, 13518135, 13518146
  7. Search Results: 13518125
  8. Transaction History: 13518135, 13518146
  9. New Chocolate: 13518146
  10. DB Model: 13518146

Bonus

  1. Expire time session at DB: 13518146
  2. AJAX di real-time stock (partial)

Kontributor


  1. Naufal Prima Yoriko
  2. Faris Rizki Ekananda
  3. Gregorius Jovan Kresnadi

choco-shop-web's People

Contributors

baconlover307 avatar darkgrimoire avatar primayoriko 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.