You can use your own Steam ID if you play CS:GO to test the app, or use the following: 76561198070318593
A CS:GO Explorer app designed to help you keep track of stats in detail, and view your friends' Steam accounts. You can see a lot of different information about your friends, including the Steam ID, which you can copy to see their stats and compare with yours. The statistics will appear in a form of tables, bar charts, and pie charts. Every time you play a match, look at the latest stats on the Profile page. Given information will help you define where the skills should be improved.
Communication between the frontend and backend of the application is carried out through the API gateway. AWS Lambda acts as a serverless part of the application that handles all of the application logic. The frontend of the application will be commited by you to the CodeCommit repository, and every time you are about to update this repository, AWS Amplify will automatically redeploy the application. If you wish to change the configuration of the API Gateway, then you have 2 options. Either use the AWS Management Console directly or change the Swagger CsGoExplorerRestApi.json file that is located at CS-GO-Explorer-main/cs-go-explorer-backend/src/main/resources/swagger and upload it to the existing ProductionStage of the API Gateway on the AWS Management Console. There are 4 more AWS services (SNS, DynamoDB, S3, and Lex) that will be used in other planned features in future releases.
-
Set up the AWS configuration file.
-
First way to authenticate to your AWS account using the AWS CLI is to use the configure command. This command prompts you to enter 4 attributes:
- AWS Access Key
- AWS Secret Key
- Default Region name
- Default Output format
-
Note that this method requires use of AWS Access and Secret key.
To obtain this key set, log into your AWS console and download it for one of your IAM user. It is highly recommended that you don’t use the root user for this type of access use case. Instead, create the IAM user and group. -
Open Terminal application.
-
Type
aws configure --profile <first-name-and-last-name>
. -
Enter AWS Access Key ID string.
-
Enter AWS Secrete Key String
-
Enter default region code. See AWS Regions and Endpoints for valid region codes.
-
Enter output format. Valid values are json, text and table. Note that this value only affects the format of the response on the Terminal application and does not affect any functionality.
-
At this point a new profile entry is created in your local AWS CLI credentials and config files.
-
-
Deploy the resources of CS:GO Explorer application to the AWS.
- Download the .zip file of the CS-GO-Explorer repository
- Unzip the file and open the
CS-GO-Explorer-main/cs-go-explorer-backend/target
folder in the Command Prompt or Terminal on your PC. - Run the following command with the required arguments:
java -jar <accessKey> <secretAccessKey> <awsAppDeploymentRegion> <steamApiKey>
accessKey
- used to sign programmatic requests that you make to AWS.secretAccessKey
- used to sign programmatic requests that you make to AWS.awsAppDeploymentRegion
- The AWS Region where the application will be deployed.steamApiKey
- API key is a unique identifier used to connect to, or perform, an API call. You can obtain the Steam API key by filling out the form at the following link: Steam Web API Documentation- Wait until the process is completed. Then you should see the URL of the CodeCommit repository in the following format:
https://git-codecommit.<aws-region>.amazonaws.com/v1/repos/<repository-name>
. Copy and paste that URL to the notes or archive it on your PC for future use. - Open a Command Prompt or Terminal on your PC and go to some directory using
cd <directory-name>
(for example,cd Desktop
). - Run
git init cs-go-explorer-ui
command. - Run
cd cs-go-explorer-ui
- Copy all files and folders from
CS-GO-Explorer-main/cs-go-explorer-frontend/
and paste them in the newly created cs-go-explorer-ui folder. - Comeback to the Command Prompt or Terminal, and run
git add .
- Run
git commit -m "CS:GO Explorer UI version-1.0.0"
- Use that URL you saved earlier and run
git push https://git-codecommit.<aws-region>.amazonaws.com/v1/repos/<repository-name> --all
- Now you can open your AWS account and search for AWS CodeCommit and AWS Amplify services. You will see that the code of the UI is successfully deployed to the CodeCommit service and the CS:GO Explorer application is currently building. Wait for about 5 minutes until all 3 ticks become green and then click on the URL of the website.
- The resources of the application should be successfully deployed to your AWS account and can be fully managed by you. Thank you!