Simple app written as an experiment with Go & Svelte leveraging server-sent events and reactivity.
- Suggest new ideas in real-time
- Voting with real-time updates
- Responsive
- docker
- npm
Set a postgres password in an environment variable for docker.
export POSTGRES_PASSWORD=secret
cd client && npm i && npm run build
docker-compose up -d
Building the frontend
npm i
npm run autobuild # the client is live-reload enabled
Running the backend: go run main.go