- This is an example forum application, consisting of .NET API, MongoDb doc store and JavaScript framework UI
- 0.1 work in progress
- Based on an earlier project, some details of the stack are described here (this repo is a rewrite though so will differ as it is built out);
- Accompanying blog post about this repository can be found here
-
Clone this repo
-
Download MongoDb, for reviewing, running and developing this API you need windows so select the appropriate Windows version https://www.mongodb.org/downloads
-
Install MongoDb, installing as a service is optional but saves you starting the service when you boot up Install MongoDb as Windows Service
-
Download a mongodb client, robomongo is nice and free
-
Open Forum.sln in Visual Studio (2012 or above)
-
Build the solution
-
Run Forum.Tools.Sample.exe to load some sample data to Mongo
-
Set Forum.Api project as start project
-
hit F5 to see API running
-
OR set up the Api in IIS under the url localhost/forum-api (or whatever you want to configure it as)
-
Running the integration tests will wipe your mongo database, so that it can set up a known set of test data. The integration tests also tear down this data, so after running you need to re-run the Forum.Tools.Sample executable if you want sample data in mongo.
-
Running the Forum.Tools.Sample executable with the optional first argument of 'remove' will also wipe the local mongo database should you wish to do this
- Review js frameworks for integration with API
- Build SPA
- Integrate API and SPA
- TDD via NUnit, NSubstitute and AutoFixture please
- Issue PRs to me please if you want to contribute
- Repo owner: jdheywood@gmail.com