Skip to content
/ vite-go-react Public template

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

License

Notifications You must be signed in to change notification settings

42LM/vite-go-react

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

vite-go-react

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

Quickstart

docker build -t go-server .
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:

export DOCKER_DEFAULT_PLATFORM=linux/amd64