GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com β€” GitHub - firedevelop/calorieCounterAPI: A modern web application to keep log of calories consumed and burned using API.

BranchesTags
Open more actions menu

Latest commit

 

History

24 Commits
24 Commits

Folders and files

NameName
Last commit message
Last commit date
dist
dist
 
 
public
public
 
 
src
src
 
 
.env
.env
 
 
.gitignore
.gitignore
 
 
README.es.md
README.es.md
 
 
README.md
README.md
 
 
id0000569-calories-tracker-API-useReducer.code-workspace
id0000569-calories-tracker-API-useReducer.code-workspace
 
 
index.html
index.html
 
 
package-lock.json
package-lock.json
 
 
package.json
package.json
 
 
postcss.config.js
postcss.config.js
 
 
tailwind.config.js
tailwind.config.js
 
 
test.tsx
test.tsx
 
 
tsconfig.json
tsconfig.json
 
 
tsconfig.node.json
tsconfig.node.json
 
 
vite.config.ts
vite.config.ts
 
 

Repository files navigation

Calorie Counter Screenshot

EspaΓ±ol | English
Logo Calorie Counter

Calorie Counter

A modern web application to keep a daily log of calories consumed and burned.

React TypeScript Vite Tailwind CSS

Live Preview

πŸ“ Project Description

Calorie Counter is a responsive web application that allows users to track their caloric intake and energy expenditure through exercise. The application automatically calculates the net calorie balance, providing a clear overview of daily progress.

The application's state is managed efficiently and robustly using React's useReducer and useContext hooks, ensuring a predictable and scalable data flow. Additionally, data is saved to the browser's localStorage to persist the user's session, enhancing the user experience.

✨ Key Features

  • Activity Logging: Add meals and exercises with their respective calories.
  • Real-Time Calculation: Instantly view consumed calories, burned calories, and the net balance.
  • Edit and Delete: Modify or remove any entry with a single click.
  • Data Persistence: Information is saved in localStorage so you don't lose your progress when closing the browser.
  • Easy Reset: Option to clear all data and start fresh.
  • Responsive Design: Fully adaptive interface for mobile and desktop devices, built with Tailwind CSS.

πŸš€ Tech Stack

  • Framework: React with Vite
  • Language: TypeScript
  • Styling: Tailwind CSS
  • State Management: React Hooks (useReducer, useContext)
  • Icons: Heroicons
  • Unique IDs: uuid

πŸ› οΈ Installation and Setup

Follow these steps to run the project in your local environment:

  1. Clone the repository:

    git clone https://github.com/firedevelop/calorieCounterAPI.git
  2. Navigate to the project directory:

    cd calorieCounterAPI
  3. Install the dependencies:

    npm install
  4. Run the development server:

    npm run dev

    The application will be available at http://localhost:5173 (or the port indicated by Vite).

πŸ“„ Credits

  • Made with ❀️ by fireDevelop.
  • Background images by Sven Mieke, Anna Pelzer, and Edgar Chaparro on Unsplash.
  • Logo by freepik.
  • Powered by Nutritionix.

πŸ†” Project ID

id0000569

About

A modern web application to keep log of calories consumed and burned using API.

calorie-counter-api-usereducer.netlify.app/

Resources

Readme
Activity

Stars

0 stars

Watchers

0 watching

Forks

0 forks
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402503 β€” GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800Γ—600. No cookies required.