Skip to content
forked from daxnet/we-text

WeText is a sample application that demonstrates the implementation of DDD/CQRS and microservice architectural patterns in C#.

License

Notifications You must be signed in to change notification settings

yonglehou/we-text

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

31 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

WeText

WeText is a sample application that demonstrates the implementation of DDD/CQRS and microservice architectural patterns in C#.

Architecture

Prerequisites

  • Visual Studio 2015 with latest update (For development and debugging purpose)
  • Rabbit MQ (For lightweight message queue)
  • Mongo DB (For CQRS Event Store)
  • MySQL (In case you wish to use MySQL as Table Data Gateway)
  • PostgreSQL (In case you wish to use PostgreSQL as Table Data Gateway)

Environment Setup

Follow the instructions below to setup your environment so that you can debug and run the WeText application.

  • Download the source code from GitHub

      git clone https://github.com/daxnet/we-text
    
  • Download and install Rabbit MQ with default preferences (Default port numbers, default server configuration)

  • Download and install Mongo DB with default preferences (Default port numbers, default server configuration)

  • Download and install MySQL community edition with default preferences (In case you wish to use MySQL as Table Data Gateway)

  • Download and install PostgreSQL database with default preferences (In case you wish to use PostgreSQL as Table Data Gateway)

  • Initialize databases with the scripts (These scripts are only for use by querying)

    • If you are using MySQL, please execute the database initialization script file mysql_query_databases.sql under the scripts folder
    • If you are using PostgreSQL, please execute the database initialization script file pg_query_databases.sql under the scripts folder
  • (Optional) Install either MySQL or PostgreSQL client management tools

Run on Windows with Visual Studio 2015

Follow the instructions below to run WeText application from within Visual Studio 2015.

  • Open WeText.sln from Visual Studio 2015
  • Set WeText.Service project as startup project and run
  • Set WeText.Web project as startup project and run
  • Enjoy! ^_^

Note that the default configuration assumes that all the message queuing and database services are run on the same machine as the application (localhost). You can change the settings by editing the App.config file in WeText.Service application according to your environment setup. For debugging and demonstration purpose, running on the same local machine is recommended.

Build and Run on Linux

[T.B.D]

Screenshots

Application Home Page

My Texts

My Friends

Documentation

[Under Construction]

About

WeText is a sample application that demonstrates the implementation of DDD/CQRS and microservice architectural patterns in C#.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C# 93.9%
  • JavaScript 4.7%
  • HTML 1.3%
  • Other 0.1%