myypo / develops-today-test-task

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Description

Simple Go CRUD web server. Uses Gin and Jet for communication with Postgres database.

Requirements

Assumes the following tools are installed and in PATH:

  1. Go 1.22.3
  2. Docker and docker compose
  3. Goose
  4. Optional: Just for running the setup script. Alternatively you can simply run the commands specified in the justfile

Setup

Run justfile local or execute the bash script specified inside

The server will run, by default on port: 12499, Postgres on its default port: 5432

The relevant Postman collection is stored in postman_collection.json

About


Languages

Language:Go 95.5%Language:PLpgSQL 2.3%Language:Nix 1.0%Language:Just 0.7%Language:Dockerfile 0.4%Language:Shell 0.0%