Git Product home page Git Product logo

meal-tracker's Introduction

Meal-tracker

.NET Core API and Angular UI for tracking daily calories (sample project)

This is a sample application for a .NET Core API & Angular UI (custom admin interface via Bootstrap). Used mainly for testing, to see when seamless transition from .NET Core 2.2, EF 6.x and OData (along with NSwag and API Versioning support) is possible to .NET Core 3.1.

Current breaking chages:

  1. EF Core 3.1 still not able to work with some often used grouping expressions: dotnet/efcore#10012
  2. API versioning not addded yet
  3. NSwag still required additional formatters due OData (see Startup.cs)

The requirements

  1. No 3rd party authentication (all must be done via the API), user creation has to be supported by UI as well.
  2. There should be 3 levels of permissions
    • user: able to edit own profile, manipulate own meals (including filtering from based on date and time period)
    • manager: should be able to edit user profiles and grant/remove manager roles from user (should not be able to add/remove administrator privileges)
    • administrator: same as manager + should be able to grant administator access for users + should be able to edit ever user's profile and meals
  3. The meal entry should include date, time, calories and a description
  4. Use profile should contain maximum allowed daily calories
  5. When the meals of the users are filtered, if daily calory intake is greater than users limit, the entries should be displayed in red (green otherwise).
  6. Postman collectin should be included
  7. E2E or Unit tests are a bonus

Screenshots

meal-tracker's People

Contributors

dependabot[bot] avatar hidegh avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.