BloomSales Inc. is a fictive retail company which also has stores. This project consists of its underlying services and its online store.
The whole system is written as a showcase only and nothing more.
You can learn more about the project, its design and architecture in this blog post.
These instructions will get you a copy of the project up and running on your local machine.
The project is implemented using Microsoft .NET Framework 4.5. Therefore, the following items are at least needed for the system to work:
- .NET Framework 4.5
- SQL Server LocalDB
The project is comprised of the following three separte categories of projects:
- BloomSales Services
- BloomSales Services Hosts
- BloomSales Web
Services Hosts and Web projects depend on BloomSales Services. Thus, in order to resolve their dependencies, Services projects should be compiled in Release mode first, which copies the output to Libraries folder for the others to use.
After compiling the projects successfully, in order to run the system or integration tests, you need to provide a "connections.config" file along with the App.config. This file contains all the connection strings needed for the databases used by the services. You can write the settings yourself or you can use the default connections.config. In order to use the default connections.config file, run connections.bat script residing in the root director. This script will generate the default connections.config file and copies that to the appropriate folders for integration tests and service hosts projects.
The next step is to run the desktop app which hosts the services. The project resides in the following folder:
\Service Hosts\Source\BloomSales.Hosts.Windows
Run the application and start the services.
The final step is to run the ASP.NET project.
The system has both unit tests and integration tests.
There are over a hundred unit tests written for Services. These tests can be run independently, or all together.
In addition to unit tests, Services also have integration tests. Theses tests should be run independently one at a time for each service, and not all together for all services.
- Mohammad Riazat - moriazat
See also the list of contributors who participated in this project.
This project is licensed under the MIT License - see the LICENSE file for details.
Bootswatch Spacelab is used as the base bootstrap theme for the BloomSales Web Store project.