This repository has the following structure:
docs
: contains the documentationliterature-review
: contains the literature reviewsrc
: contains the source code
- Literature Review - A brief overview of the literature review.
- Deploying in Azure - A quite detailed step by step walkthrough of how to deploy the application in Azure.
- Architecture - Just a bulleted list of components at the moment.
This application is built using DAPR v1.6.0. To run this locally, you will need:
- Docker
- Dapr CLI
- Go v17+
- Node.js 1.17+
- Begin DAPR (Distributed Application Runtime) with
dapr init
- Go Application to serve React frontend
- Open the
src/frontend/client
directory - Install the application with
npm install
- Build the application with
npm run build
- Open the
src/frontend
directory - Run the application with
dapr run --app-id frontend --app-port 5000 --dapr-http-port 3500 --dapr-grpc-port 60000 --components-path ../config go run server.go
- Go Application to handle player events
- Open the
src/players
directory - Run the application with
dapr run --app-id players-backend --app-port 5001 --dapr-http-port 3501 --components-path ../config go run server.go
You can use the local bash scripts provided, including ./src/run-script.sh
to start each service individually.
Make sure the files are executable, by navigating to src with cd src
and changing permissions with chmod 755 run-script.sh
.