Skip to content

heianxing/HiP-DataStore

 
 

Repository files navigation

HiP-DataStore

Microservice that manages the content for the mobile app.

Development Environment Setup

For testing purposes, install & run Event Store and MongoDB on your local machine. Steps on Windows:

  • Download Event Store
    • Run with EventStore.ClusterNode.exe --db ./db --log ./logs
    • For further information, see documentation: Connecting to a Server, especially section "URIs"
  • Download MongoDB
    • Run with mongod.exe
    • Default database path: C:\data\db (if installed on drive C:)
    • For further information, see documentation: Install on Windows and The Mongo Shell
  • Launch the app
    • via Visual Studio: Open the solution (*.sln) and run the app (F5)
    • via Terminal: Execute dotnet run from the project folder containing HiP-DataStore.csproj

The app is preconfigured to run on dev machines without any manual configuration (using the event store and Mongo database on localhost). See appsettings.json for a list of configuration fields and their default values.

About

The REST API for mobile content. Implements the CQRS & event sourcing patterns.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C# 99.4%
  • Other 0.6%