Categorygithub.com/orlmonteverde/go-postgres-microblog

# README

API Rest con Go (Golang) y PostgreSQL

Development of a simple Rest API with Go and the PostgreSQL database engine.

PostgreSQL Go

Getting Started

This project uses the Go programming language (Golang) and the PostgreSQL database engine.

Prerequisites

PostgreSQL is required in version 9.6 or higher and Go at least in version 1.12

Installing

The following dependencies are required:

  • github.com/go-chi/chi

  • github.com/joho/godotenv

  • github.com/lib/pq

  • golang.org/x/crypto

  • github.com/dgrijalva/jwt-go

Using GOPATH

go get github.com/go-chi/chi

go get github.com/joho/godotenv

go get github.com/lib/pq

go get golang.org/x/crypto

go get github.com/dgrijalva/jwt-go

Using GOMODULE

go build ./cmd/microblog

Deployment

Clone the repository

git clone [email protected]:orlmonteverde/go-postgres-microblog.git

Enter the repository folder

cd go-postgres-microblog

Build the binary

go build ./cmd/microblog/

Run the program

# In Unix-like OS
./microblog

# In Windows
microblog.exe

API Documentation

Swagger

Built With

  • chi - High performance, extensible, minimalist Go web framework

Versioning

We use SemVer for versioning. For the versions available, see the tags on this repository.

Authors

# Packages

No description provided by the author
No description provided by the author