nathanielhall / cloud-native-go

Cloud Native service written in Go

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Cloud Native Go

This repository provides a CRUD API for Todo items.

Setup

git clone git@github.com:nathanielhall/cloud-native-go.git
cd cloud-native-go
docker compose build && docker compose up

Todos

Name HTTP Method Route
List GET /v1/todos
Create POST /v1/todos
Read GET /v1/todos/{id}
Update PUT /v1/todos/{id}
Delete DELETE /v1/todos/{id}

Technical Decisions

  • Chi as the Router
  • Postgres as the database
  • GORM as the ORM
  • Goose for database migrations
  • Zerolog as the Logger

Resources

About

Cloud Native service written in Go


Languages

Language:Go 98.8%Language:Dockerfile 1.2%