Giter Site home page Giter Site logo

njugunamwangi / ecommerce Goto Github PK

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

License: MIT License

PHP 24.86% HTML 25.79% JavaScript 29.74% CSS 18.93% CoffeeScript 0.51% Shell 0.01% SCSS 0.11% Stylus 0.05% Less 0.01% ASP.NET 0.01%
codeigniter php ecommerce ecommerce-shopping-solution

ecommerce's Introduction

ecommerce is a web template focused on helping the user set up an online shop.

Coded in PHP and codeigniter framework, it provides four different user levels, namely:

  1. Admin
  2. Wholesaler
  3. Retailer/Customer
  4. Vendor

Modes of payment

  1. M-Pesa(Sandbox)
  2. Paypal (Live)
  3. Credit Cards (live)

APIs

  1. Daraja Api by Safaricom
  2. Stripe, for Credit Card payments

The login credentials are as follows

Admin username: [email protected] password: 0700010203

Wholesaler username: [email protected] password: 0704040404

Customer/Retailer username: [email protected] password: 0700020202

Vendor username: [email protected] password: 0703030303

How to install

1. Download the project from my repository https://github.com/njugunamwangi/ecommerce

2. Since the project is virtually hosted, you'll need to do some adjustments

3. If youre using xampp, navigate to C:/xampp/apache/conf/httpd.conf and add the following lines	

	<VirtualHost *:80>
	    DocumentRoot "/xampp/htdocs/<name-of-project-as-you-would-like-to-name-it>"
	    ServerName <name-of-project-as-you-would-like-to-name-it>.com
	    ServerAlias <name-of-project-as-you-would-like-to-name-it>.com
	 
	    <Directory "/xampp/htdocs/<name-of-project-as-you-would-like-to-name-it>">
	        Options -Indexes 
	        Options FollowSymLinks
	        AllowOverride All
	    </Directory>
	</VirtualHost>

	<VirtualHost *:80>
	    DocumentRoot "/xampp/htdocs/<name-of-project-as-you-would-like-to-name-it>"
	    ServerName <name-of-project-as-you-would-like-to-name-it>.com
	    ServerAlias *.<name-of-project-as-you-would-like-to-name-it>.com
	 
	    <Directory "/xampp/htdocs/<name-of-project-as-you-would-like-to-name-it>">
	        Options -Indexes 
	        Options FollowSymLinks
	        AllowOverride All
	    </Directory>
	</VirtualHost>

4. Then navigate to C:/Windows/System32/drivers/etc/hosts.file
	Uncomment the following lines
		127.0.0.1       localhost
		::1             localhost
	Then add the following lines
		127.0.0.1	ecommerce.com
		127.0.0.1	1563557036.ecommerce.com

5. Restart both apache and mysql

6. Create a database named ecommerce and import the ecommerce.sql file at the root of the project

7. Enjoy

ecommerce's People

Contributors

njugunadesmond avatar

Forkers

olivertweesty

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.