/services-voting

A microservice backend for tracking proposed meetup topics and civic projects and voting on them

Primary LanguageTypeScript

A microservice for storing proposals and user votes

Frontend Repo

Feature Progress Tracker

API Spec

Swagger UI

Development

docker-compose up -d

Database

When starting the docker container it should initialize the database for you.

If you need to manually do it:

cd database
./init_db.sh

Seed Database

If you would like to have fake data to test with. You can run the following (make sure container is running first):

docker compose exec -T web npm run db:seed

Deployment

  • pushing new v0.0.[#] tag will publish an image to ghcr
  • restarting k8s pod will pull latest image