Skip to content

Wilkinsonemily/snack_swap

Repository files navigation

🥗 SnackSwap

SnackSwap is a web application designed to help users make healthier food choices by finding better alternatives to packaged snacks.
By searching or scanning products, users can view nutritional information and receive healthier swap recommendations based on calories, sugar, fat, and other key nutrients.

This project supports SDG 3 — Good Health and Well-Being by encouraging informed and healthier eating habits.


🌐 Live Website

👉 https://snackswap.up.railway.app/


📌 Application Overview

Many people consume packaged foods without fully understanding their nutritional value.
SnackSwap simplifies nutrition data and helps users quickly compare products to make smarter consumption decisions.


🚩 Problems Addressed

  • Nutritional labels are often confusing or ignored
  • Users want healthier food options but don’t know suitable alternatives
  • No simple tool to quickly compare nutrition values between snacks
  • Lack of awareness regarding sugar, fat, and calorie intake

🎯 Project Objectives

  • Present nutritional information in a clear and easy-to-understand format
  • Help users make healthier food choices
  • Increase awareness of nutrition content in packaged foods
  • Support healthier lifestyles through alternative food recommendations

🌍 Sustainable Development Goal

SDG 3 — Good Health and Well-Being

SnackSwap contributes by:

  • Helping users understand food nutrition
  • Encouraging healthier eating habits
  • Supporting prevention of diet-related health issues

⭐ Main Features

  • Food Search

    • Search food products by name or product code
  • Nutrition Details

    • Display nutrition values such as calories, sugar, fat, protein, sodium, and more
  • Healthy Categories

    • Low sugar
    • High protein
    • High fiber
    • Other health-based categories
  • Healthy Swap Recommendation

    • Suggests healthier alternatives with improved nutritional values
  • Admin Dashboard

    • Manage food data and nutrition information

🛠 Technology Stack

Backend

  • Laravel (PHP)

Database

  • MySQL (Railway Database)

Deployment & Infrastructure

  • Railway
  • Docker
  • GitHub-integrated deployment
  • Environment variables managed via Railway Variables
  • Automatic redeploy on code updates

🚀 Deployment Overview

  • Platform: Railway
  • Build & run using Docker
  • Publicly accessible application URL
  • Continuous deployment connected to GitHub repository

📄 Documentation

Note: Documentation is written in Indonesian.


📝 Notes

SnackSwap focuses on usability, nutrition awareness, and simple decision-making.
Future improvements may include barcode scanning, personalized recommendations, and expanded food databases.


🥑 Making healthier food choices easier — one swap at a time.

About

SnackSwap is a web application that helps users make healthier food choices by finding better nutritional alternatives to packaged snacks based on calories, sugar, and fat content.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors