/macro-master

MacroMaster is a streamlined tool designed for nutrition-conscious users to determine the macro-nutrient content of their meals. Users can effortlessly obtain information on the energy, protein, fat, and carbohydrate content of various foods. Ideal for those aiming to closely monitor and optimize their dietary intake.

Primary LanguageTypeScript

Macro Master

This project is composed by two parts:

  • Angular: it follows the classical Angular project structure. A service exposes all CRUD operations available to the app.

  • Deno server: inside the server-deno folder. Provides endpoints to a generic client and allows to decouple the client app.

Run the Angular client app

Run npm start for a dev server. Navigate to angular-server. The app will automatically reload if you change any of the source files.

Run Deno server

From the server-deno folder, run denon start to start the server. By default, it will listen on PORT 8280. If you change it, align the PORT value with the variable used by Angular in the environments folder (within the Angular app scope).

Server host - Deno Deploy

Client app host

Database - Supabase

Sign-in to Supabase dashboard