Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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 🐳
- Host: GitHub
- URL: https://github.com/42lm/vite-go-react
- Owner: 42LM
- License: mit
- Created: 2023-11-28T19:01:12.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2023-12-23T13:45:52.000Z (about 1 year ago)
- Last Synced: 2024-11-13T09:13:43.741Z (2 months ago)
- Topics: container, docker, dockerfile, go, golang, react, sqlite3, typescript, vite
- Language: TypeScript
- Homepage:
- Size: 13.7 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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
> ```