This is the repo for the backend of my monopoly app. It is currently in development and requires postresql and redis to run. Instructions for running are below.
Stack (Go):
- Fiber
- Socket.io
Make sure you have Go installed
First clone the repo git clone https://github.com/DedS3t/monopoly-backend && cd monopoly-backend
Then run go get to download dependencies
The next step is to setup postresql...
- Create a new database
- Run the db.sql to setup the database
- Create a .env file with the following keys
- DB_USER
- DB_PASSWORD
- DB_NAME
- DB_ADDR
- REDIS_URL (eg. localhost:6379)
Finally you are able to run go run main.go to start the backend.
For this project to work you also need the client side which is found at https://github.com/DedS3t/monopoly-frontend