Giter VIP home page Giter VIP logo

bidtest-app-eliza's Introduction

bidding ๐ŸŽ‰ ๐Ÿ”‹ ๐Ÿ“ˆ ๐Ÿค˜

Business Logic

How to run it 1 - dependencies: mongo, npm (6.12.1), node (v13.1.0) installed locally 2 - download the repo locally
3 Go to "server" folder - cd server (from console or from visual code console or from webpack console)

  • npm install
  • npm run start or npm start (is stating the nodemon for dev environment , for production I remove the nodemon library ) (docker is missing because I run out of space on my actual computer on drive C ) The app is running on http://localhost:7000/api/{name}

4 Go to client folder - cd client from a new console

  • npm install
  • npm start

The app is running on http://localhost:3000

The following logic closely mirrors that of our production system. Depending on which track you take, some of it may not be relevant, so feel free to skim this part on first read.

The test platform allows buyers (system operators) to advertise competitions for procuring energy from sellers (flex providers). Sellers can then submit bids against competitions.

The following relations are in place:

  • a buyer has many competitions
  • a competition has many bids
  • a seller has many bids

A bid is successful if the following is true:

  • its offered_capacity is equal to or greater than than the competition's minimum_capacity
  • its accepted state is true
  • its associated seller's verified state is true
  • it was created within the associated competition's open and closed dates

A competition has the following states:

  • pending when the competition's open and closed date/times are in the future
  • open when the open value is in the past, but closed is in the future
  • closed when open and closed are in the past

Assume competitions' open / closed date/times are always sequential

Capacity values use MW units

Dummy data from backend buyers, sellers, competitions and bids microservices can be found in the data folder.

bidtest-app-eliza's People

Contributors

elizad avatar gnublade avatar

Stargazers

 avatar

Watchers

 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.