An open API service indexing awesome lists of open source software.

https://github.com/figurestudios/gamestoplay-backend

The backend for the digital gameshop built on Akash, Filebase, and Polygon(scan).
https://github.com/figurestudios/gamestoplay-backend

Last synced: 12 days ago
JSON representation

The backend for the digital gameshop built on Akash, Filebase, and Polygon(scan).

Awesome Lists containing this project

README

          

# gamestoplay-backend
The backend for the digital gameshop built on Akash, Filebase, and Polygon(scan).

## See it for yourself!

You can both visit the site here: http://gamestoplay.hns.to and see the video demo which showcases the project as well as a game purchase [here](https://youtu.be/psbLXoHMPis)!

You will need:
- Matic on Polygon (Get from [MaticSupply](https://matic.supply/))
- GLM on Polygon (Get from [Thorg](https://www.thorg.io/))
- A Steam Account

## The example

- Clone the repo.

- Get your private keys from [this page on Filebase](https://console.filebase.com/keys).

- Run this command to change CORS settings on your only public bucket:

`AWS_ACCESS_KEY_ID= AWS_SECRET_ACCESS_KEY= bucket= node cors.js`

- Add the example files to their respective buckets.

- Deploy the deploy.yaml file to Akash after filling out the ENV variables.

- Your backend is now running! Without creating a frontend, it's quite hard to fully test it. If you want to build your own website, you can join the [Discord Server](https://discord.gg/sUmrVjDkKR) and ask for help.

## More links

- [Docker Hub](https://hub.docker.com/r/figureprod/gamestoplay)
- [Discord](https://discord.gg/sUmrVjDkKR)

## How was this made?

If going through the source code doesn't do it for you, then no worries. Everything that's in this project can be boiled down to these parts:
- JavaScript in Node (NodeJS)
- Dockerization & Akash Deployment
- API calls on PolygonScan
- Filebase S3 bucket management ([example](https://github.com/filebase/nodejs-example))

You can read [this guide](https://medium.com/@figuregang/developing-deploying-on-akash-7aecd5d9d467) if you want a step-by-step tutorial that goes through the entire basics of much of the above!