Coder Social home page Coder Social logo

dpe's Introduction

dpe - Dynamic Pricing in Ecommerce

A plugin that can be intergrated in E-commerce platforms of any kind to facilitate dynamic pricing referencing Amazon, Ebay etc Note this is a proof of concept and not a production build

Requirements

Code editor -> https://code.visualstudio.com/ API Key -> https://rapidapi.com/ajmorenodelarosa/api/amazon-price1/

Setup a local environment:

Clone repository on a local machine

API setup

Setup the API and retrieve your API key here

https://rapidapi.com/ajmorenodelarosa/api/amazon-price1/

config.js file

Create a file named config.js in yout root folder and paste the following code adding your api key

const config = {
    amazonAPIKey: "your api key"
}

Run in your local environment

All you need to do is run the index.html file from CLI or by double-clicking the icon in explorer view.

You can now simulate a dynamic pricing e-commerce environment referencing Amazon pricing for the products. Target e-commerce platform aquisition and sale prices are simulated by generating random prices in a range derived from Aamazon API response. Logs in console have been added to enhance your understanding on how the plugin works.

As this plugin is currently in development, any contributions welcomed by following the steps bellow:

  1. Fork project
  2. Clone locally
  3. Add your work
  4. Push on YOUR fork
  5. Create a pull request to codebase

I will check my account regularly so that I can keep the codebase updated.

I believe in an open source world and working on it.

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.