bibliotheca-go

A WIP API backend for bibliotheca-pwa.

Getting Started

Prerequisites

  • task
  • Docker (supports BuildKit)
    • docker
    • docker-compose
  • Go

Developing

$ task setup
$ task dc:up

This example uses port number 8080. If you want use another port number, try env APP_PORT=18080 task dc:up.

Database

Use psql in docker container.

$ task dc:psql

If you want to connect to the development database from outside the container. Try this:

$ psql "$(task dc:show-db-connection-string)"

Building

$ task build:container