项目作者: ChaturvediSulabh

项目描述 :
Coding Exercise - Build a new Checkout system
高级语言: JavaScript
项目地址: git://github.com/ChaturvediSulabh/API-Point-Of-Sale.git
创建时间: 2018-06-13T10:15:20Z
项目社区:https://github.com/ChaturvediSulabh/API-Point-Of-Sale

开源协议:MIT License

下载


seek-GDP-POS

GDP Coding Exercise

Click here to access the solution

Above page will let you know on how to use the app or test the app

Build Summary

Programming - Node.js (Express Middleware), Please refer package.json file to know about what packages have been used.

DataBase - MongoDB, hosted on mLab -

TestData and How to Test

Detailed Documentation

/doc/Release Notes - GDP Coding Excercise.docx

GDP is in the process of rewriting its job ads checkout system. You have been assigned to build this new system. We want to offer different products to recruiters:

(i) Classic Ad : Offers the most basic level of advertisement.

(i) Standout Ad : Allows advertisers to use a company logo and use a longer presentation text.

(iii) Premium Ad : Same benefits as Standout Ad, but also puts the advertisement at the top of the results, allowing higher visibility.

Each of the product is billed as follows:

ID Name Price
classic Classic Ad $269.99
standout Standout Ad $322.99
Premium Premium Ad $394.99
We established a number of special pricing rules for a small number of privileged customer

(i) UNILEVER

Gets a “3 for 2” deal on Classic Ads
(ii) APPLE

Gets a discount on Standout Ads where the price drops to $299.99 per ad
(iii) NIKE

Gets a discount on Premium Ads where 4 or more are purchased. The price drops to $379.99 per ad
(iv) FORD

Gets a “5 for 4” deal on Classic Ads
Gets a discount on Standout Ads where the price drops to $309.99 per ad
Gets a discount on Premium Ads where 3 or more are purchased. The price drops to $389.99 per ad