Skip to content

erolcherim/CalorieCounterAPI

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

46 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CalorieCounterAPI

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.

Team

Erol Cherim
Robert Roman
Paul Martinas

Demo

demo

Database ER Diagram

DIAG(1)

User Stories / Backlog

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

Use Case Diagram

uml drawio

Automation Testing

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

image

Source control

The project uses GIT source control, hosted on github. Proof of commits, branches and merging can be found on the project repo page

Bug reporting

Bugs have been reported/tracked/fixed using github's issue system. The project issues can be found here

Code Standards

The project respects the C# Coding Standards

Build Tool

The API was built using the Visual Studio MSBuild tool.

image

Design Patterns

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.

About

MDS Project - A2S2 API for calorie counter app

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •  

Languages