This repository contains a habit and nutrition tracking application built with Angular and .NET 7. The goal is to provide users with a simple dashboard where they can track personal habits and manage daily nutritional intake.
The purpose of this project is to solidify my full-stack development skills by building a real-world application from scratch, applying best practices with Angular for the frontend and ASP.NET Core for the backend.
At the current stage, the application focuses on:
- ✅ Habit Tracking – Create, read, update, and delete habits.
- 🔄 Integration – Connect Angular frontend with .NET API.
- ⚙️ REST API – Secure and scalable backend using Entity Framework and PostgreSQL.
- 🔧 Development Workflow – Following industry standards (layered architecture, services, modular frontend, meaningful commits).
- Angular 17
- TypeScript
- RxJS
- Angular Standalone Components
- Angular HTTPClient
- SCSS
- ASP.NET Core Web API (.NET 7)
- Entity Framework Core
- PostgreSQL
- CORS configuration
- RESTful design
- Visual Studio
- VS Code
- Postman
- Git & GitHub
- IIS Express (development)
Trackbite/
├── front-end/ # Angular application
│ ├── src/
│ │ ├── app/
│ │ │ ├── services/ # Habit service
│ │ │ ├── models/ # Habit model
│ │ │ └── dashboard/ # Dashboard component
│ └── ...
├── Trackbite.API/ # ASP.NET Core Web API
│ ├── Controllers/ # HabitsController
│ ├── Models/ # Habit model
│ ├── Data/ # ApplicationDbContext
│ └── ...
└── README.mdhttps://github.com/wmsalves/Trackbite.git
cd trackbitecd Trackbite.API
dotnet ef database update
dotnet runMake sure your database is configured in
appsettings.json.
cd front-end
npm install
ng serveThen go to: http://localhost:4200
- 📊 Nutrition tracking panel with food APIs
- 🧠 AI/ML suggestions based on habit patterns
- 🔐 Authentication (JWT + role-based)
- 🗕️ Calendar & daily view
- 📊 Analytics dashboard