Giter Club home page Giter Club logo

conference-1's Introduction

Conference

A conference example to explain how to use enode to develop ddd+cqrs+event sourcing style application.

本项目是展示如何使用ENode开发基于DDD,CQRS,ES架构的应用程序。

共分为三个Bounded Context:
1.ConferenceManagement,负责会议位置后台管理
2.Registration,负责处理用户下单
3.Payments,负责处理支付

运行步骤:
1.新建一个数据库Conference,执行Scripts目录下的CreateConferenceTables脚本,创建该数据库中的相关表;
2.新建一个数据库Conference_ENode,执行Scripts目录下的CreateENodeTables脚本,创建该数据库中的相关表;
3.修改Hosts目录下每个顶层宿主工程里的App.config或Web.config里的数据库连接字符串,确保数据库连接是正确的;
4.逐个启动所有的宿主工程,启动顺序可以如下:
1)Conference.MessageNameServer 2)Conference.MessageBroker
3)ConferenceManagement.ProcessorHost
4)Payments.ProcessorHost
5)Registration.ProcessorHost
6)ConferenceManagement.Web
7)Registration.Web

OK,到这里,整个案例运行就完成了。

conference-1's People

Contributors

luhang02 avatar tangxuehua avatar

Watchers

 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.