This repository contains code for a Betacrew Exchange Server and a C# client for connecting to it. The server simulates a stock exchange, and the client retrieves stock ticker data from the server.
Before you begin, ensure you have met the following requirements:
- Node.js (v16.17.0 or higher)
- .NET Visual Studio 2022 SDK (v7.0.400)
- Git
Note: This project was developed and tested on a Windows-based environment.
git clone https://github.com/suyashxd/betacrewexchangeserver.git
cd betacrewexchangeserver
cd betacrew_exchange_server node main.js
cd ../client
dotnet run
A json file called processed_data.json will be generated in the client directory that will contain an array of objects, where each object represents a packet of data with increasing sequences
The code overwrites the existing JSON file instead of creating a new one each time dotnet run is executed.