Skip to content

Latest commit

 

History

History

FiberPostgresCRUD

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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"