/Pet-CRUD-API

Simple Pet API with Go and Postgres

Primary LanguageGo

Simple Pet API with Go and Postgres

Project setup

  • Clone the project
  • Create a .env file and fill in the values
  • Install postgres as a Docker container with make start-db
  • Run the project with make run

Project outline

  • Pet -> simple CRUD operations for a pet

Resources

Go Postgres driver

Documentation

https://github.com/lib/pq

Installing postgres driver

go get github.com/lib/pq

gofiber

Documentation

https://gofiber.io

Installing gofiber

go get github.com/gofiber/fiber/v2