Skip to content

A simple monolithic REST API for creating and customizing bio links(like linktree) with analytics features using Go

Notifications You must be signed in to change notification settings

ilhamfzri/pendek.in-backend

Repository files navigation

Pendek.In Backend API

Technical Stack

API Documentation

Postman Page Link : Click Here

Download Postman Collection

Database Diagram

alt text

Folder Structure

.
├── app
│   ├── cache        // redis client
│   ├── database     // orm client
│   ├── logger       // logger clien
│   ├── mail         // mail client
│   ├── router       // endpoint management
│   └── main.go
| 
├── config             // app configuration                 
├── doc-assets         // documentation assets
├── helper             // helper function for hashing password, user-agent parser, etc.
├── internal           
│   ├── controller      // server handler layer
│   ├── handler         // internal server error, no method, and no route handler.
│   ├── middleware      // jwt middleware layer
│   ├── model          
|   |   ├─ domain       // data and table structure for database
|   |   └─ web          // request and response interface     
│   ├── repository      // responsible for all CRUD operations 
|   └── service         // business logic layer 
|       ├─ user_service*.go   // responsible for account management (sign-up, login, etc)
|       ├─ custom_link_*_service*.go   // responsible for custom link and analytic logic
|       └─ social_media_*_service*.go   // responsible for social media link and analytic logic
├─- .env // container level configuration
├── docker-compose.yaml // multi-container configuration
└── Makefile // list of automation commands

About

A simple monolithic REST API for creating and customizing bio links(like linktree) with analytics features using Go

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages