GithubHelp home page GithubHelp logo

manvekar / ddd-vet-sample Goto Github PK

View Code? Open in Web Editor NEW

This project forked from ardalis/ddd-vet-sample

0.0 0.0 0.0 89.96 MB

A sample meant to demonstrate domain driven design using a veterinary hospital management system.

JavaScript 23.72% ASP 0.03% C# 31.52% Puppet 1.53% PowerShell 24.17% CSS 1.54% Pascal 7.86% HTML 3.39% Batchfile 0.02% Gherkin 0.14% Rich Text Format 5.58% TSQL 0.50%

ddd-vet-sample's Introduction

DDD Fundamentals Sample App

A sample meant to demonstrate domain driven design using a veterinary hospital management system. This sample is used in the Domain-Driven Design Fundamentals course on Pluralsight.

Give a Star! โญ

If you like or are using this project to learn, please give it a star. Thanks!

Getting Started

The main application is in the FrontDeskSolution folder. Open the FrontDesk.sln file for the main sample.

The application relies on the public web site for sending emails and confirming appointments. You must run the public site for this part of the demo to work. Open it from VetClinicPublic.Web folder and the VetClinicPublic.Web.sln solution.

You will need a test mail server to capture the email that would be sent to the user when they create a new appointment. I recommend SMTP4Dev which you can get here - I'm still using the old version but the latest one probably works, too.

The communication between the two web apps is done using SQL Server Service Broker. You must set this up using the SetupSQLServiceBroker.sql file in the root of the repo.

Finally, if you have to adjust the connection strings for the database to use your version of LocalDB (or SQL Express or whatever) you will need to update these in several places:

  • FrontDesk web.config
  • FrontDesk SharedDatabaseManagementTools SharedDatabaseTests app.config
  • VetClinicPublic web.config
  • MessagingConfig.cs in both solutions

Basically you should search both solutions for (LocalDb)\MSSQLLocalDB and replace it with whatever local SQL Server database you're using.

To create the application/domain database you should run the unit test in SharedDatabaseTests - SharedDatabaseContextShould.BuildModel

The message queue database is created by the SetupSQLServiceBroker script above, and is called ServiceBrokerTest.

ddd-vet-sample's People

Contributors

ardalis avatar julielerman avatar imgbotapp 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.