Skip to content

Latest commit

 

History

History
35 lines (22 loc) · 1.24 KB

README.md

File metadata and controls

35 lines (22 loc) · 1.24 KB

Gorilla mux RestAPI postgres

REST API using Gorilla-mux in GO

  1. Clone the git repo - git clone git@github.com:golang-mitrah/Gorilla-mux-RestAPI-postgres.git

  2. Use database/db_script.sql file to crete a SQL table needed in your PostGres server for this demo project

  3. Change database connection details in database/database.go file's line #27

var dbname, username, password, host, port = "DB_XX", "USER_XX", "PWD_XX", "localhost", "5432"
  1. Run below in your project path

    go get .
    go run .
    
  2. Use the Gorilla_mux_RestAPI_postgres.postman_collection.json to import the API request into your PostMan tool to try out the API endpoints available

Contributors

REST API using Gorilla MUX Router is authored by GoLang Mitrah and everyone is welcome to contribute.

Problems

If you experience any problems with REST API using Gorilla MUX please:

Social Media

You'll find us on Twitter and Facebook