Skip to content

Latest commit

 

History

History
42 lines (28 loc) · 595 Bytes

File metadata and controls

42 lines (28 loc) · 595 Bytes

Fiber Postgres CRUD

A simple PostgresSQL CRUD application using the Fiber webframework.

Requirements

  • Local golang installation
  • PostgresSQL

Getting started

Without Docker

Installing the dependencies:

go mod download

Running the application:

go run main.go

With Docker

Running the application

docker-compose up

After starting the application the server should be started on port 3000 and you can start sending requests to the endpoints.

# Endpoints
"/api/v1/item"
"/api/v1/item/:id"
"/api/v1/item"
"/api/v1/item/:id"