25b3nk / learn-gomux

Learning Rest-API using gorialla mux and postgreSQL

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

Learning Rest-API using gorialla mux and postgreSQL

License:The Unlicense


Languages

Language:Go 100.0%