All Projects → zengxianxue → Cinema

zengxianxue / Cinema

Licence: mit
使用 go-micro 微服务框架开发的电影院订票系统

Programming Languages

go
31211 projects - #10 most used programming language
golang
3204 projects

Projects that are alternatives of or similar to Cinema

Go Os
Stars: ✭ 185 (+32.14%)
Mutual labels:  microservice, go-micro
go2sky-plugins
The plugins of go2sky
Stars: ✭ 46 (-67.14%)
Mutual labels:  gin, go-micro
cookiecutter-go
boilerplate, golang project starter tool, support go-zero/go-micro/gin
Stars: ✭ 63 (-55%)
Mutual labels:  gin, go-micro
Go Micro Boilerplate
The boilerplate of the GoLang application with a clear microservices architecture.
Stars: ✭ 147 (+5%)
Mutual labels:  microservice, go-micro
S
a go web freamwork for micro service, very very easy to create and deploy, with auto service registry and discover, high performance and based on http/2 no ssl
Stars: ✭ 67 (-52.14%)
Mutual labels:  microservice, go-micro
gmsec
golang micro service base on gin. golang 微服务集成框架
Stars: ✭ 141 (+0.71%)
Mutual labels:  gin, go-micro
short
URL shortening service. 高性能短链接服务。
Stars: ✭ 14 (-90%)
Mutual labels:  gin, go-micro
laracom
laracom driven by go micro services
Stars: ✭ 37 (-73.57%)
Mutual labels:  microservice, go-micro
Microservice learning
从零开始微服务框架使用
Stars: ✭ 31 (-77.86%)
Mutual labels:  microservice, gin
Go Project Sample
Introduce the best practice experience of Go project with a complete project example.通过一个完整的项目示例介绍Go语言项目的最佳实践经验.
Stars: ✭ 344 (+145.71%)
Mutual labels:  microservice, gin
Go Shopping
A sample suite of services built on the go-micro framework
Stars: ✭ 98 (-30%)
Mutual labels:  microservice, go-micro
Paysuper Billing Server
A core monolith-like service with all payment processing business logic in PaySuper.
Stars: ✭ 95 (-32.14%)
Mutual labels:  microservice, go-micro
Go Grpc
A simpler grpc framework
Stars: ✭ 133 (-5%)
Mutual labels:  microservice, go-micro
Mix
☄️ PHP CLI mode development framework, supports Swoole, WorkerMan, FPM, CLI-Server / PHP 命令行模式开发框架,支持 Swoole、WorkerMan、FPM、CLI-Server
Stars: ✭ 1,753 (+1152.14%)
Mutual labels:  microservice
Gin Rtsp
基于Gin + WebSocket + JSMpeg,在HTML页面上直接播放RTSP视频流。
Stars: ✭ 136 (-2.86%)
Mutual labels:  gin
Go Plugins
Go Micro Plugins. Moved to go-micro/plugins.
Stars: ✭ 1,654 (+1081.43%)
Mutual labels:  go-micro
Go Http Metrics
Go modular http middleware to measure HTTP requests independent of metrics backend (with Prometheus and OpenCensus as backend implementations) and http framework/library
Stars: ✭ 128 (-8.57%)
Mutual labels:  gin
Micro Medium Api
Microservice for fetching the latest posts of Medium with GraphQL.
Stars: ✭ 138 (-1.43%)
Mutual labels:  microservice
Gin Jwt
JWT Middleware for Gin framework
Stars: ✭ 1,957 (+1297.86%)
Mutual labels:  gin
Confluence
Torrent client as a HTTP service
Stars: ✭ 126 (-10%)
Mutual labels:  microservice

Cinema - 电影院订票管理

使用 go-micro 开发的微服务电影院订票管理案例

目录结构:

  • api - RESTful API 接口,使用gin框架
  • movie - 电影管理服务
  • proto - grpc 协议文件目录
  • projection - 电影票管理服务
  • user - 用户管理服务

特性

  • 微服务框架go-micro 微服务的基础框架
  • 服务注册/发现consul 分布式、高可用的服务注册/发现
  • 消息中间件kafka 发布/订阅、异步通知
  • api网关gin Api统一管理、鉴权
  • JWT鉴权jwt-go - JSON Web Token
  • api文档swagger api 文档
  • rpc协议grpc-go 服务间的通信协议
  • 错误报告sentry 警报系统
  • 缓存redis 缓存客户端使用go-redis
  • DBMongodb 客户端使用mongo-go-driver
  • 部署docker-compose 部署

依赖

运行

  • clone项目
git clone https://github.com/zengxianxue/cinema.git
  • 安装依赖包
cd cinema
GO111MODULE=on go mod tidy 
  • build

目前只有userAPI两个模块

make build
  • compose 启动
docker-compose up
  • 测试
 curl -X POST -d "username=test&password=123456" http://localhost:8080/api/v1/user/registry

输出: {"code":0,"message":"success"}

其他说明

还在开发中... 欢迎 PR,喜欢加个星星哦,>_<

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].