8000 GitHub - leoantony72/rplace: Backend Development of reddit r/placešŸ±ā€šŸ’»
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

leoantony72/rplace

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Ā 

History

11 Commits
Ā 
Ā 
Ā 
Ā 
Ā 
Ā 
Ā 
Ā 
Ā 
Ā 
Ā 
Ā 

Repository files navigation

Introduction

For those who don't know reddit r/place was one of the biggest social experiments where anyone can place a pixel on a 1000x1000 pixel board.

reddit R/place Official

Docker Build

docker-compose up --build
cd web-service && go run src/main.go
cd broadcast && go run src/main.go

Ā 

Technologies Used

Ā 

  • Golang
  • Gin
  • gorilla websocket
  • Redis
  • Kafka
  • zookeeper

Ā 

Summary

Ā 

I am new to golang so the project structure might be weird for those who are checking it out. In the src there are controller, services, model, config. Folders such as services and model will be framework agnostic. Controllers leverage services and service folder(data access layer) contains all the business logic and will be able to interact with Model(database layer).

When request comes in Controllers pass it to service and does some work or is send to the database through the model.Results are passed back up to the service layer and then to the controllers.


About

Backend Development of reddit r/placešŸ±ā€šŸ’»

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published
0