Code Monkey home page Code Monkey logo

flash-sales-site's Introduction

# Flash Sales Site MVP with LIMIT LOGIN ATTEMPTS

Create a flash sales site where customer save more when shop more.

Admin should be able to create deals with following information:

  • title
  • description
  • price
  • discounted price
  • quantity
  • publish date.
  • An Image

A deal should be publishable if:

  • It has all the required attributes, and passes other validations, wherever required.
  • No other deal is scheduled to be published on the same date.
    • Only one deal can be live at a time.

Deal will be live for 24 hours only, and every new deal will be published at 10 AM IST.

The site wuld be membership only site, so customer need to be logged in to see any deal.

The site's home page would be displaying the deal of the day with deal details and buy now button.

Buy Constraints:

  • Customer can buy one and only one quantity of the deal.
  • Clicking on buy now button should ask for confirmation before placing order. We'll not take any payment or shipping info for now, so the order is placed as soon as customer confirms the order.
  • Also ensure that we do not over sell i.e we sell only 'n' quantities if 'n' quantities were available. Handle race condition here.
  • Rewarding Returning Customers:

    • Returning Customer would get additional 1% discount on the discounted price on his every next order and max up to 5%.
      • For example: Customer placing order for the first time would get no additional discount, but would get additional 1% on his second order, similarly 2% on third and so on.

login details

login : www.example.com/deals/login login email : [email protected] password : 12345

user email : [email protected] password : 12345

Changelog and New Features

Server Requirements

PHP version 5.6 or newer is recommended.

It should work on 5.3.7 as well, but we strongly advise you NOT to run such old versions of PHP, because of potential security and performance issues, as well as missing features.

Installation

import mvc.sql file in mysql database

License

Please see the license agreement.

Resources

Acknowledgement

flash-sales-site's People

Contributors

abhay2021 avatar

Stargazers

 avatar

Watchers

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