Skip to content

Desarrollo de una API Rest sencilla con Go y el motor de base de datos PostgreSQL.

License

Notifications You must be signed in to change notification settings

orlmonteverde/go-postgres-microblog

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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 git@github.com: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

About

Desarrollo de una API Rest sencilla con Go y el motor de base de datos PostgreSQL.

Resources

License

Stars

Watchers

Forks

Packages

No packages published