Skip to content

A React application to list CS:GO trade offers using AWS, Typescript and Serverless.

License

Notifications You must be signed in to change notification settings

nathandebalthasar/csgoexchange

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CSGO Exchange

Getting Started

Setup

CSGO Exchange is a serverless web application running on AWS. Its goal is to provide a web interface allowing players to publish exchange requests visible to everyone.

In order to run the application, make sure to have the following installed:

Deploy

In order to deploy, make sure you have the following .env at the root of the back folder:

REGION=aws_region
STACK_NAME=stack_name
DB_USERS=stack_name-users
HOSTNAME=your_hostname
JWT_SECRET=your_jwt_secret
STEAM_API_KEY=your_api_key

To deploy the backend on aws, run the following

$ cd back
$ yarn install
$ serverless deploy

Make sure to run the refresh-db-script available at the root of the repository in order to populate the skins to the database.

Once the stack is deployed on aws you can run the client with the following .env:

REACT_APP_API_URL=api_url
JWT_SECRET=your_jwt_secret
HOSTNAME=your_hostname
$ cd front
$ yarn install
$ yarn start

Database schema

The following represents the DynamoDB table schema of the project:

Table

Table Schema

GSI1

Table Schema

About

A React application to list CS:GO trade offers using AWS, Typescript and Serverless.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published