An online real-time multiplayer auction system
- Open a terminal at the root of the project folder
- Run
npm install sqlite3
to get your platform build for sqlite3
- The sqlite database is already bundled with the project
- I assumed users of the application cannot create arbitrary inventories
- I assumed the inventories have the same name hence spellings like carrot and carrots will not work appropriately when balancing inventories after an auction is ended
- I assumed that the user who placed the winner bid is online to end the auction
None
- Make sure to get the platform build for sqlite3 by running
npm rebuild
- Run
npm start
to run the application and point your browser to http://localhost:3000 to view the application
- Make sure to get the platform build for sqlite3 by running
npm rebuild
- The angular tests needs Chrome browser to run.
- Run
npm run test-express
to run the express tests - Run
npm run test-client
to run the angular tests - Run
npm run test
to run both tests
- Testing sockets emits in express
- The assignment doesn't include adding an escrow to temporarily hold all inventories which was set for auction hence enabling users to continue setting them up for auction when they no longer have them