Coder Social home page Coder Social logo

shortlink-org / shortlink Goto Github PK

View Code? Open in Web Editor NEW
681.0 5.0 35.0 484.06 MB

Shortlink service (Microservice example) ⭐️ Star the repo if you like it!

Home Page: https://shortlink.best

License: MIT License

Go 47.17% Makefile 2.87% Dockerfile 1.94% Shell 0.20% DIGITAL Command Language 0.03% JavaScript 6.91% Ruby 1.16% HCL 0.07% Python 3.01% Mustache 2.29% Jinja 0.05% Jsonnet 0.03% Scala 0.28% TypeScript 26.66% PHP 0.20% Gherkin 0.70% Jupyter Notebook 0.07% HTML 0.32% PLpgSQL 0.03% CMake 6.01%
shortlink golang example best-practices architecture codegen kafka mq ddd layered-architecture

shortlink's Introduction

shortlink

ShortLink is an open-source educational project that provides a pretty user interface and respects GDPR.

The goal of the project is to demonstrate the practical application of microservices architecture.

Artifact Hub PkgGoDev codecov Go Report Card Releases LICENSE CII Best Practices StackShare FOSSA Status DeepSource


ShortLink - Get ready to share your links with ease! | Product Hunt SLSA

High Level Architecture 🚀

The project covers the entire process - from identifying Bounded Contexts to implementing microservices using cutting-edge technologies and best practices.

shortlink-architecture Please star ⭐ the repo if you want us to continue developing and improving ShortLink! 😀

Boundaries

Tip

Our project follows Domain-Driven Design (DDD) principles, organizing code into distinct domains for clarity and easier updates.

Bounded Context Description Type subdomain Docs
API Gateway Gateway for all services Supporting docs
Auth Boundary Auth services Generic docs
Billing Boundary Payment services Generic docs
Chat Boundary Chat services Supporting docs
Delivery Boundary Delivery services Supporting docs
DS Boundary Data Science services Supporting docs
Extension Boundary Extension services Supporting docs
Link Boundary Link services Core docs
Marketing Boundary Marketing services Supporting docs
Notification Boundary Notification services Generic docs
Platform Boundary Platform services Supporting docs
Search Boundary Search services Supporting docs
Shop Boundary Shop services Supporting docs
ShortDB Boundary ShortDB services Supporting docs
UI Boundary UI services Supporting docs

Contributing

Architecture decision records (ADR)

Important

An architecture decision record (ADR) is a document that captures an important architecture decision made along with its context and consequences.

Decisions:

Also, each boundary context and service has its own ADR. You can find them in the relevant sections.

License

Warning

This project includes dependencies licensed under the GNU Lesser General Public License (LGPL). Users must comply with LGPL terms when using or modifying these dependencies. For detailed information on each LGPL library used in this project, please refer to the respective license documentation included with each library. For comprehensive license compliance information, including dependencies and their licenses, you can read more details in our FOSSA report.

FOSSA Status

shortlink's People

Contributors

batazor avatar bridgecrew[bot] avatar deepsource-autofix[bot] avatar dependabot[bot] avatar fossabot avatar imgbot[bot] avatar imgbotapp avatar mend-bolt-for-github[bot] avatar mergify[bot] avatar nayls avatar ozanuslan avatar renovate-bot avatar renovate[bot] avatar snyk-bot avatar sourcery-ai[bot] avatar stack-file[bot] avatar step-security-bot avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

shortlink's Issues

Action Required: Fix Renovate Configuration

There is an error with this repository's Renovate configuration that needs to be fixed. As a precaution, Renovate will stop PRs until it is resolved.

Location: .github/renovate.json5
Error type: Invalid JSON5 (parsing failed)
Message: JSON5.parse error: JSON5: invalid character '\"' at 12:3

add method: links

ToDo:

Store:

  • Add method: get links for all DB's
  • Add test

API:

  • gRPC-gateway
  • http
  • GraphQL

Fix:

  • Fix generate proto
  • Fix test coverage
  • Fix generate GraphQL
  • API for DGraph

Add Logger interface

Add opentracing

Add HELM chart

To-Do

  • Minimal Helm Chart
И только что вышел Helm 3 :tada::tada::tada:

Анонс: http://amp.gs/slud
Что изменилось по сравнению с 2 версией http://amp.gs/slui
Как мигрировать http://amp.gs/sluw
Плагин для миграции http://amp.gs/sluF
Результаты security аудита http://amp.gs/slur

monitoring: Prometheus

devops: gitlab ci-pipeline

ToDo

Forkflow

artifacts

intergration

  • sentry
  • Knative

k8s

  • intergration
  • logs
  • metrics

Environment

  • Yandex
    • Improt/Export alert/dashboard?
  • AWS
  • Google
  • Minikube??? (From CI)

Link:

Add API: graphQL

Todo

  • work version

Add config

// Schema represents a GraphQL schema with an optional resolver.
type Schema struct {
	schema *schema.Schema
	res    *resolvable.Schema

	maxDepth              int
	maxParallelism        int
	tracer                trace.Tracer
	validationTracer      trace.ValidationTracer
	logger                log.Logger
	useStringDescriptions bool
	disableIntrospection  bool
}

After

  • Generate resolver
  • Generate methods?
  • Learn spec GraphQL:
    • Add filter
    • Add fragment
    • Union field

add consul kv

Todo

  • integration
    • viper #731
    • traefik
  • consulCatalog
  • store
    • metadata
  • API
    • add/del service
    • consul template

add Neo4j

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.