Giter VIP home page Giter VIP logo

vaibhavmagon / auction-marketplace Goto Github PK

View Code? Open in Web Editor NEW
25.0 2.0 8.0 15.6 MB

Crossover Task - Auction marketplace comprising an end-to-end classified platform with the option to bid on products in realtime. ⚖️

Home Page: https://www.crossover.com/

Shell 0.09% JavaScript 76.16% CSS 9.67% HTML 13.00% Dockerfile 1.09%
auction nodejs mysql html5 css3 javascript bower crossover bidding realtime

auction-marketplace's Introduction

Auction App - Introduction

Auction App is a end-to-end implemented classified platform with option of bidding for products in realtime. This is a feature rich repo and was originally part of Crossover's onboarding program (where it was selected).

Prerequisites

  1. Nodejs installed on the platform
  2. MySQL installed and server running
  3. All commands and code will run from Code folder onwards. Make sure one has the right path.

Instructions to Install & Run Auction App.

  1. Run - "npm install" to install or Node dependencies.
  2. Run - "bower install" to install bower dependencies for client side libraries.
  3. If no error is found (as it is not found for me) Run using cmd - "forever start server.js"
  4. Open - "http://localhost:3000" in browser to see the Auction App.

Or

Run - "sh appInstallerScript.sh" to install all dependencies, db scripts, npm modules and run the server.

Data and Tables

  1. One should have Nodejs & MySQL (Prerequisites to run the application).
  2. Enter Values for Mysql as per settings in respective local mysql in the config.js file. The fields are: 2.1 User 2.2 Password [Host, Database and Port will be 'localhost','auctionDb' and '3306'. Please don't change them for proper function of code]
  3. Run - "node db.js" to initialise database auctionDb and tables. After executing the script will notify.

High level system design

download

Unit Test Cases

  1. After setting up connection with local MySQL you are ready to run the test cases.
  2. To Run use - "npm test" and it will run all test cases.

Assumptions

  1. If there was more time sockets and messaging queue like rabbitMq could have been implemented.
  2. For demo I have used UserName as uniqueId in the application and not any custom generated ID for ease.

Maintainers

  • Vaibhav Magon

Support

Buy Me Chai

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.