Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/disco07/docker-golang-postgres


https://github.com/disco07/docker-golang-postgres

docker docker-compose dockerization dockerize dockerized go golang

Last synced: about 1 hour ago
JSON representation

Awesome Lists containing this project

README

        

[![ci](https://github.com/disco07/docker-golang-postgres/actions/workflows/test.yml/badge.svg?branch=main)](https://github.com/disco07/docker-golang-postgres/actions/workflows/test.yml)
# docker-golang-postgres
Dockerize golang apps

## Getting Started

### Prerequisites

  • Text editor i.e Golang-JetBrains πŸ”₯

  • You may need to have the following dependacies installed on your computer:

  • Golang
  • ### Setup
    On Golang-JetBrains, open the terminal and do the following steps

    ### Clone this repository
    ```bash
    git clone https://github.com/disco07/docker-golang-postgres
    cd docker-golang-postgres
    ```
    ### Installation
    ```bash
    go install
    ```
    ### To Run
    To build images and start container
    ```bash
    docker-compose up --build
    ```
    Run this to consume api
    ```bash
    curl http://localhost:8000/posts
    ```
    ## Built with

    ### Language

  • Golang

  • Docker

  • Docker-compose
  • ### Tools

  • Golang-JetBrains

  • Github
  • ## Author πŸ‘€
    Drissa KonΓ©

  • Github: @disco07

  • LinkedIn: @drissakone
  • ## Contributing 🀝
    Contributions, issues, and feature requests are welcome!

    Feel free to check the issues page.

    ## Support me
    Give a ⭐️ if you like this project!

    ## πŸ“ License
    [![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)
    =======