Skip to content

dwuiem/todo-app

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

38 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

REST API todo application

Introduction

This is a microservice application with simple CRUD operations with tasks and lists

Technology Stack

  • Language Go (1.23)
  • gRPC interaction between microservices
  • Framework gin - API route
  • Authentication JWT lib to identity users (JSON web token)
  • Database PostgreSQL using pgx lib
  • Migrations using github.com/golang-migrate/migrate/v4

Usage

  1. Cloning repository
git clone https://github.com/dwuiem/todo-app.git
  1. Docker Compose
docker-compose up -d

Project Structure

todo-app
β”œβ”€β”€ README.md
β”œβ”€β”€ api
β”‚Β Β  β”œβ”€β”€ Makefile
β”‚Β Β  β”œβ”€β”€ gen
β”‚Β Β  β”‚Β Β  └── sso
β”‚Β Β  β”œβ”€β”€ go.mod
β”‚Β Β  β”œβ”€β”€ go.sum
β”‚Β Β  └── proto
β”‚Β Β      └── sso.proto
β”œβ”€β”€ docker-compose.yaml
β”œβ”€β”€ sso
β”‚Β Β  β”œβ”€β”€ Dockerfile
β”‚Β Β  β”œβ”€β”€ cmd
β”‚Β Β  β”‚Β Β  β”œβ”€β”€ app
β”‚Β Β  β”‚Β Β  └── migrate
β”‚Β Β  β”œβ”€β”€ config
β”‚Β Β  β”‚Β Β  └── local.yaml
β”‚Β Β  β”œβ”€β”€ gen
β”‚Β Β  β”‚Β Β  └── sso
β”‚Β Β  β”œβ”€β”€ go.mod
β”‚Β Β  β”œβ”€β”€ go.sum
β”‚Β Β  β”œβ”€β”€ internal
β”‚Β Β  β”‚Β Β  β”œβ”€β”€ adapter
β”‚Β Β  β”‚Β Β  β”œβ”€β”€ app
β”‚Β Β  β”‚Β Β  β”œβ”€β”€ domain
β”‚Β Β  β”‚Β Β  └── jwt
β”‚Β Β  └── migrations
β”‚Β Β      β”œβ”€β”€ 1_init.down.sql
β”‚Β Β      └── 1_init.up.sql
└── todo
    β”œβ”€β”€ Dockerfile
    β”œβ”€β”€ cmd
    β”‚Β Β  β”œβ”€β”€ app
    β”‚Β Β  └── migrate
    β”œβ”€β”€ config
    β”‚Β Β  └── local.yaml
    β”œβ”€β”€ gen
    β”‚Β Β  └── sso
    β”œβ”€β”€ go.mod
    β”œβ”€β”€ go.sum
    β”œβ”€β”€ internal
    β”‚Β Β  β”œβ”€β”€ adapter
    β”‚Β Β  β”œβ”€β”€ app
    β”‚Β Β  └── domain
    └── migrations
        β”œβ”€β”€ 1_init.down.sql
        └── 1_init.up.sql

About

πŸ“‹ Todo application

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages