Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

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

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

container docker dockerfile go golang react sqlite3 typescript vite

Last synced: 15 days ago
JSON representation

Connect vanilla 🍦 Go & vite ⚡ ️REACT (Typescript) + Dockerize the application 🐳

Awesome Lists containing this project

README

        

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

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

```sh
docker run --detach --name vite-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
> ```