/learn-gomux

Learning Rest-API using gorialla mux and postgreSQL

Primary LanguageGoThe UnlicenseUnlicense

learn-gomux

Learning Rest-API using gorialla mux and postgreSQL from Semaphore CI gorilla mux tutorial

Getting started

  1. Setup environment variables

    export APP_DB_USERNAME=postgres
    export APP_DB_PASSWORD=bhaskar
    export APP_DB_NAME=postgres
  2. Run postgres docker

    docker run --rm --name "psql" -e POSTGRES_PASSWORD=bhaskar -it -p 5432:5432  postgres
  3. Run tests

    go test -v