Skip to content

Latest commit

 

History

History
38 lines (29 loc) · 2.05 KB

readme.md

File metadata and controls

38 lines (29 loc) · 2.05 KB

README

How do I get set up?

  • 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

TODO:

  • Review js frameworks for integration with API
  • Build SPA
  • Integrate API and SPA

Contribution guidelines

  • TDD via NUnit, NSubstitute and AutoFixture please
  • Issue PRs to me please if you want to contribute

Who do I talk to?