Development of a simple Rest API with Go and the PostgreSQL database engine.
This project uses the Go programming language (Golang) and the PostgreSQL database engine.
PostgreSQL is required in version 9.6 or higher and Go at least in version 1.12
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
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
go build ./cmd/microblog
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
- chi - High performance, extensible, minimalist Go web framework
We use SemVer for versioning. For the versions available, see the tags on this repository.
- Orlando Monteverde - Initial work - orlmonteverde