GithubHelp home page GithubHelp logo

jhorlamide / bookshop Goto Github PK

View Code? Open in Web Editor NEW

This project forked from kavirajk/bookshop

0.0 0.0 0.0 3.95 MB

An attempt to write an Cloud Native web services following microservices patterns. Primary Language is Go

Go 100.00%

bookshop's Introduction

BookShop

This repo try to demonstrates building a "real-world" web services in go. It is used only for learning purposes.

Description

We focus on building the services in monolithic way first. We iterate over to split this monolithic to microservices that can be deployed separately.

Bookshop consists of following services

  • Auth - Login, Signup, ResetPassword, Impersonate and Forgot password
  • Catalog - View, filter, search books
  • Order - Place, View and Cancel Orders
  • Payment - Add/Edit payment method and Make payment.
  • Notification - Email and SMS notifications.

Roadmap

  • Elegant monolitic exposing REST endpoints for all the services - v1.0
  • Add async task queue support - v2.0
  • Catalog search via elastic search - v3.0
  • Split to microservices. grpc transport between microservices and single API gateway - v4.0
  • Dockerize all the services - v5.0
  • Introduce service mesh between services - v6.0
  • Make services deployable via kubernetes - v7.0
  • Add service discovery support - v8.0
  • Monitoring via Prometheus and Grafana - v9.0
  • Request tracing - v10.0
  • Log aggregation via "OK log" - v11.0

Organization

We will stick to Domain Driven Design as much as possible.

bookshop
├── build                  # Compiled files
├── cmd                    # Main entry points
    ├── bookstore
├── pkg                    # Domain related packages
    ├── auth
    ├── catalog
    └── order
    └── payment
    └── notification
└── resource               # High-level packages. Can be used by any domain 
	└── db
└── vendor
└── Gopkg.toml
└── Gopkg.yaml

bookshop's People

Contributors

kavirajk avatar

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.