Go, Fiber, GORM, Postgres
Find the full article to build this API here - https://dev.to/percoguru/getting-started-with-apis-in-golang-feat-fiber-and-gorm-2n34
- Create a database notes-api in your Postgres local instance
- Rename
.env.exmaple
to.env
. - Add in the database user and password for your postgres instance containing the database fiber-app.
- In the root folder run
go run main.go
. - Get the API docs at http://localhost:3000/swagger/index.html