Skip to content

scr44/calorie-tracker-api-example

Repository files navigation

Calorie Tracker

Overview

A sample project that allows users to record types of food, food calories, and calories eaten per day. It demonstrates the following:

Backend

  • An ASP.NET Web API with Swagger documentation
  • Easy dependency injection with AutoRegisterDi
  • Onion/Clean/Horizontal Slice architecture (Controller, Service, Repository, Domain)
  • Domain-driven design (granted, it's just CRUD operations right now)
  • Entity Framework Core backed by SQLite db for convenient local downloads. If you need a viewer, try DB Browser for SQLite.
  • Async data operations to avoid ThreadPool starvation
  • Unit testing with NUnit and Moq
  • COMING SOON: OData to feed a serverside-processed report grid
  • COMING SOON: Demonstration of a Vertical Slice architecture pattern using Jimmy Bogard's MediatR (a nice alternative to traditional onion)
  • COMING SOON: Event logging for entity creation, deletion, or updating

Frontend

About

A sample project to demonstrate an ASP.NET Web API with a Vue frontend.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors