Reddit Place Clone Server

Server application to simulate r/place

Requirements

Go (https://go.dev/doc/install)

Get Started

  1. Clone the repository
git clone --recurse-submodules -j8 https://github.com/rdeepak2002/reddit-place-clone-server.git
  1. Deploy a server application with this code (Heroku can directly deploy this Go project from a GitHub repository, but you need to add the submodules buildpack, NodeJS buildpack, and Go buildpack)
heroku buildpacks:add https://github.com/dmathieu/heroku-buildpack-submodules -i 1
  1. Add the following code anywhere to view the image
<img alt="image" src="https://website/static/image.png" width="300"/>

Note: Replace the “src” with the url your server is being hosted on

Example Embed in README.md

Add pixels here: https://reddit-place-clone-server.herokuapp.com/

Then refresh the page and notice the image below changing.

image

The above example is using the following markdown

<img alt="image" src="https://reddit-place-clone-server.herokuapp.com/static/image.png" width="300"/> 

Update Web Application Code

git submodule update --remote 

GitHub

View Github