GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - juvenfan/qbike: A demo of share bike using DDD, MicroService and Spring Cloud

BranchesTags
Open more actions menu
 
 

Latest commit

 

History

42 Commits
42 Commits

Folders and files

NameName
Last commit message
Last commit date
.mvn/wrapper
.mvn/wrapper
 
 
api-gateway
api-gateway
 
 
intention
intention
 
 
microservice-discovery-eureka
microservice-discovery-eureka
 
 
mysql
mysql
 
 
order
order
 
 
position
position
 
 
testclient
testclient
 
 
uc
uc
 
 
.gitignore
.gitignore
 
 
README.md
README.md
 
 
docker-compose.yml
docker-compose.yml
 
 
pom.xml
pom.xml
 
 

Repository files navigation

滴滴电动车

本项目纯属虚构,如有雷同实属巧合

项目背景

在嘀嘀打车的创业成功经验引领下你的创业团队发现了一个拥挤的大城市的电动车机会。 你们发现电动车由于其灵活性能够在拥挤的路面上穿行,从而能够帮助很多上班族避免早晚高峰,按时到达目的地,比滴滴打车更方便。 你们决定设计一个电动车的打车平台,能够在早晚高峰时匹配电动车司机和有需要的乘客。

Quick Start

启动docker daemon进程
mvn clean install
docker-compose up mysql
ctrl-c退出
docker-compose up

http://localhost:8050

Dev

请安装Lombok插件,Java8 Stream + Lombok + Spring boot, 你会拥有一个全新的Java开发体验。

业务场景

初步设计的场景比较简单,主要是匹配有需求的乘客附近的电动车司机。经过前期的需求梳理,产出了下列的基本功能

  • 司机发布自己的位置和状态(默认一辆电动车只能搭载一位乘客)
  • 乘客提交行程需求(行程需要包含起点和终点,只支持实时提交,不支持预约)
  • 系统自动为乘客匹配合适的司机,将需求发送至司机手中
  • 司机确认是否接受行程
  • 司机和乘客按订单完成行程
  • 乘客行程途中要求改变行程
  • 系统计费及完成订单
  • 乘客对司机的评价

主要场景.005

业务流程

业务流程.006

事件

事件.008

命令

滴滴电动车需求.009

聚合识别

滴滴电动车需求.010

滴滴电动车需求.011

系统架构

滴滴电动车需求.012

About

A demo of share bike using DDD, MicroService and Spring Cloud

Resources

Readme
Activity

Stars

1 star

Watchers

1 watching

Forks

0 forks
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.