Web API using .Net Framework that keeps track of foods eaten, calculating daily calroie intake and macros. It is based around logging foods, which creates an entry, editing and deleting entries.
Erol Cherim
Robert Roman
Paul Martinas
User stories can be found at this Trello kanban board The project follows the agile methodology, the work has been split in the following milestones
For testing purpouse we have created a suite of Postman requests that reproduce a usual use case for the API. The unit tests test the following API controllers: UsersController, AuthController, FoodsController, UserFoodsController. After running the test suite, the number of tests passed is displayed as an output
The project uses GIT source control, hosted on github. Proof of commits, branches and merging can be found on the project repo page
Bugs have been reported/tracked/fixed using github's issue system. The project issues can be found here
The project respects the C# Coding Standards
The API was built using the Visual Studio MSBuild tool.
The project uses the following design patterns:
-
Repository Pattern The project uses a Repository->Service->Controller pattern
-
Unit of Work All repositories are encapsulated by the UnitOfWork class (and IUnitOfWork interface) to add another abstractisation level.
-
Factory Pattern for the GenericRepository class which implements basic CRUD methods which the other repositories extend.