Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/42lm/vanilla-go-react

Connect vanilla 🍦 Go & REACT (Javascript) + Dockerize the application 🐳
https://github.com/42lm/vanilla-go-react

container create-react-app docker dockerfile go golang javascript react

Last synced: 17 days ago
JSON representation

Connect vanilla 🍦 Go & REACT (Javascript) + Dockerize the application 🐳

Awesome Lists containing this project

README

        

# vanilla-go-react
Building a vanilla go backend and react frontend. Connect both and serve as a docker container.

## Quickstart
```sh
docker build -t go-server .
```

```sh
docker run --detach --name react-client -p 3000:8080 -d go-server
```

open browser: http://localhost:3000

> [!IMPORTANT]
> If you are running on an `arm64` architecture you need to set the following env variable:
> ```sh
> export DOCKER_DEFAULT_PLATFORM=linux/amd64
> ```