Skip to content

Latest commit

 

History

History
37 lines (24 loc) · 609 Bytes

README.md

File metadata and controls

37 lines (24 loc) · 609 Bytes

Idea suggestion & vote app

Simple app written as an experiment with Go & Svelte leveraging server-sent events and reactivity.

Features

  • Suggest new ideas in real-time
  • Voting with real-time updates
  • Responsive

Requirements

  • docker
  • npm

Set a postgres password in an environment variable for docker.

export POSTGRES_PASSWORD=secret

Building

cd client && npm i && npm run build
docker-compose up -d

Development setup

Building the frontend

npm i
npm run autobuild  # the client is live-reload enabled

Running the backend: go run main.go