Description
A reservation and patient management system for the Ronald McDonald House of Mid-Michigan. http://www.rmhmm.org/
Built on Fluent NHibernate and ASP.NET MVC. Also uses StructureMap and NUnit (all needed assemblies are included)
Want to help out? Look at the issues tab, get the code and attach a patch to the issue.
Don't know NHibernate? Not a problem. If the feature you're working on needs a new method on the repository just add it to the interface and mock it in your tests, leave the concrete class throwing a NotImplementedException (or returning fake data) and we'll code the data acess piece when applying your patch.
Attaching a passing test/spec would make us love you all the more.
Getting Started
- download the source
- make sure the connection string in app.config and web.config are correct, and create a database "RMH"
- run the unit test in RMH.IntegrationTests.Repository.CreaseSchema.LoadData();
- make sure the web project is the default and press F5
Using a database other than MS SQL
There's a line in SessionFactoryFactory for configuring the database.
var config = MsSqlConfiguration
.MsSql2005.ConnectionString(c => c.Is("ConnectionString".AppSetting()));simply swap out the config with a MySqlConfiguration or whatever your db flavor is, then run the getting started steps above.