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).
- Host: GitHub
- URL: https://github.com/figurestudios/gamestoplay-backend
- Owner: figurestudios
- License: mit
- Created: 2021-10-19T14:14:25.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2021-10-19T21:31:46.000Z (over 4 years ago)
- Last Synced: 2025-03-04T02:41:26.109Z (over 1 year ago)
- Language: JavaScript
- Size: 11.7 KB
- Stars: 0
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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!