Giter Site home page Giter Site logo

tansheetalitaj / eshop Goto Github PK

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

E-shop web application built using php routing. Instead of relying on the web server to map the request path to a file, all requests are forwarded to index.php which has defined routes and callbacks registered to each route.

PHP 76.78% CSS 16.97% JavaScript 5.89% Hack 0.15% Dockerfile 0.05% Makefile 0.16%
ecommerce eshop php7

eshop's Introduction

php E-Shop Website

E-shop web application built using php routing. Instead of relying on the web server to map the request path to a file, all requests are forwarded to index.php which has defined routes and callbacks registered to each route. If the request URI is a valid route, the callback returns a page to the user else, redirected to the 404 page.

Features

  • Login and registration system

  • Password reset

  • Ordering system

  • Update profile

  • Order history

  • CSRF protection

  • Input sanitisation

    Admin Panel

  • Create, modify and delete products, customers and faq

  • Unlimited product pictures

  • Image compression (php_gd): 50%

  • Image magic bytes verification

  • Create or select product category

  • Last 7 days sales and revenue stats using Chartjs

  • Modify contact details and privacy policy

Setup

  • Create Virtual Host on your local Machine
  • Create database
  • Execute db-settings.sql
  • Enter database config db.php
  • Enable the php_gd/gd extension in php.ini

Host File Entry

127.0.0.1 local.eshop.com

Virtual Host Entry

<VirtualHost local.eshop.com:80>
     ServerAdmin [email protected]
     DocumentRoot "C:/xampp/htdocs/eshop"
  DirectoryIndex index.php

     ServerName local.eshop.com
     ServerAlias local.eshop.com
  <Directory "C:/xampp/htdocs/eshop">
        Options All
        AllowOverride All
        Require all granted
 </Directory>
</VirtualHost>

Admin Credentials

uri: /admin/login
username: admin
password: 123456

eshop's People

Contributors

tansheetalitaj 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.