ESalesMen
Online E-commerce site for buying and selling products with bidding option.
Tools Used:
- LAMP SERVER (Apache + Mysql + Php)
- CURL ( https://en.wikipedia.org/wiki/CURL )
Setting Up Environment:
- Set Up Mod Rewrite for Apache So that all request comes to index.php Using .htaccess ( https://www.digitalocean.com/community/tutorials/how-to-set-up-mod_rewrite-for-apache-on-ubuntu-14-04 )
- Place all the 4 folders(Presentation, Business, Data, Assets) to your localhost folder.
- Create Database ( http://localhost/data/create_db )
- Create All common Catagories ( http://localhost/assets/eSalesMen_data.php ) Note: Step 3 & 4 depends on step 1 & 2
These are Some important Features of our System:
Main Features:
- Used Three-tier Architecture.
- Email Verification for SignUp process
- Search Suggestion along with searching by speific category (Solved Using Ajax)
- Catagory Traversal through a dynamic left panel
- Item listing(product adding) for verified user
- Buying product by adding it to cart
- Bidding for a product which is made available for auction by seller
- Notification for winning a bid
Main Security:
- Keeping Only Presentation layer in public network and other 2 layers in private network can give us a better level of security.
- Only Specific views can be accessed that is registerd others are hidden. For example: one can access signup.php because that is registered as /signup but there is no way to access signupAction.php
- Sql injection proof
User Feature:
- Can add Profile Picture
- Verified User Can buy products through Cart Checkout or Directly Buy a product
- Verified User Can Recharge his account with a Recharge key
User Security:
- For signup email is checked if it is already registered or any email can be send.
- Old password is needed to update User Info or Recharge Account
Product Feature:
- For Selling a product Additional Info comes acoording to the Category (Solved Using Ajax)
- For Selling a product Bidding Info is only asked when the product type is 'auction'
- Add image of product
Product Security:
- Quantity is checked before adding or buying a product even you can't exceed the product quantity limit.
Cart Feature:
- If Same Product added to cart Only quantity increases
- Possible to increase or decrease product quantity from cart. If quantity becomes zero product will be removed from cart.
Cart Security:
- Before Checkout a Cart total cost of cart is compared with credit of a user.
- Quantity of each product of the cart is checked before checkout and error message shows which product is failed in quantity check.
Notification Feature:
- Notification is Generated when a user won a Bid.
- User can directly the product from notification.
Notification Security:
- Cost is checked with User credit.
*** Bid Procedure:
Bid process happens when product type is auction and someone try to view the product page and current time is greater than the product's auction time. If this process passed then product's info is updated and notification is generated. As in this process product quantity decreases, So this process will happen once.
Screen-Shots:
Home Page
Category Traverse
Register
Login
Profile
Search
Fiexed Price item
Cart
Recharge