Skip to content

olivier361/Day-Trading-App

 
 

Repository files navigation

Day-Trading-App

Running the containers

To run the containers, please open a terminal then

$ docker compose up

Running the payloads

  1. To run the payloads, ensure that the containers are up and running
  2. Open a terminal
  3. Go to console directory by
$ cd console
  1. Run the python script and pass the desired payload. For example
$ python3 payload.py payloads/user1.txt
  1. Generate the dumplog by running:
$ python3 payload.py payloads/dumplog.txt

Client

To open the client

  1. Ensure the containers are up and running
  2. Open in the browser: http://localhost:5173

Database

To see the database contents

  1. Download and install MongoDB Compass
  2. Open the application then create new connection
  3. In the URI input
mongodb://localhost:27017/test

Performance Test

  1. Download and install JMeter
  2. Open the load-test.jmx or stress test.jmx from the performance-test folder
  3. Start the test by clicking on the Start button in GUI

Unit Tests

Please see the documentation on transaction-server folder

About

SENG468 Project

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 83.5%
  • Python 15.1%
  • Other 1.4%