Skip to content

PeanutButter1212/NutriNexus

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

323 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

NutriNexus

Level of Achievement

Artemis

Members

  • Chua Kai Jie, Emerson
  • Marcus Ng Zheng Han

📚 Table of Contents

App Summary

NutriNexus is a mobile application that enables people form all walks of live to seamlessly track their daily caloric intake and physical activity in a single integrated platform. We aim to incorporate gamification lelements like a personalised virtual garden, avatar customisation and map exploration to keep the lifestyle application to keep users engaged and moltivated


Proof of Concept

Click here to view Proof of Concept


Moltivation

We read in a CNA article that Singaporean workers opt for snacks over proper meals due to high stress work environments. This would mean consumption of food like confectionery like chocolates, sweets and savoury snacks like nuts and popcorn, sacrificing on intake of crucial nutrients like proteins and carbohydrates. Diving deep into statistics, we also learnt from a 2022 Health promotion board survey that nine in ten people in Singapore are consuming salt above the recommended level, as well as the rate of hypertension doubling since 2010.

We feel that health should never take a backseat, especially in high-pressure, demanding environments. This belief of ours inspired us to create an application that empowers individuals with the tools and the motivation they need to take control of their well-being while juggling their studying and working responsibilities and aspirations.

The productivity application Forest took the world by storm ever since it was released. Despite its initial launch more than ten years ago, it remains a sensation in the App store, still retaining the #1 spot in the productivity section. Through the application, users are each given a garden, the number of trees that grow in their garden is in proportion to the time they stay focused in their work-related endeavours. The more dedicated they are, the more their garden flourishes, allowing users to be rewarded for consistent effort and discipline.

Inspired by the success of forest in reinforcing self-improvement habits in its user base, we hope to introduce a similar system for our users, where users get to cultivate their own garden through consistently achieving their health and exercise goals. Through achieving milestones, users will be able to earn in-app accessories and rewards which can be used to decorate their avatar and garden respectively. By gamifying the notion of productivity, we hope to encourage users to stay motivated, build healthy habits and visualize their progress in a meaningful way. We want to keep the journey interesting and refreshing for users, one they will never feel the urge to give up on.

Pokemon Go, as a success story, also inspired us to go further with our ideas. Pokemon Go brought in novel geological concepts into gaming, where users explore their real life surroundings to collect exotic Pokemons and diversify their collection, imbuing an additional layer of adventure. It is evident that Singaporeans are captivated by the unique experience that Pokemon Go provides, as seen in the massive turnout in Pokemon Go official events, with the most recent iteration amassing over 18000 people at the venue. As such we hope to incorporate geological-based functions to our application as well, where users will get to explore their real-world surroundings and get points and accessories for doing so. Users will be rewarded the more steps they take and for exploring new food options in their area. We hope to emulate the unique Pokemon Go experience into the mechanics of our application.

Through gamification, real-world exploration, and personalized rewards, we hope to encourage individuals to take charge of their health while keeping the journey engaging and rewarding. In a competitive, ever-changing and fast-paced world where well-being is often sidelined, our application serves to remind everyone that self-care can go hand in hand with one’s responsibilities and that health and one’s well being is a key to living a balanced and fulfilling life.


User Stories

  • As a fitness enthusiast, I want to track my daily calorie intake and step count in a single application and have my progress displayed in clear, easy-to-understand infographics to help me stay on track with my fitness goals.
  • As a teenager/young adult, I want to connect with like-minded individuals through interactive games and friendly competitions, making fitness a fun and social experience.
  • As a foodie, I want to explore healthy food options in my neighborhood and across Singapore, helping me make better dietary choices while discovering new dining spots.
  • As a busy professional, I want quick insights into my health metrics and maintain my fitness goals despite my hectic schedule.
  • As a parent, I want my kids to be encouraged to stay physically active through engaging games and challenges, helping them develop healthy habits in a fun and interactive way.

Project Scope

Map

We will limit the location for the maps to Bukit Batok and number of map icons (food places) to 5


Assets

Similarly for the assets such as accessories and decor, we will limit to 8 each which will be closely linked to our Singaporean Culture

Decor:

1) Plants: Spider Lily, Orchid, Durian, Bougenvilla
2) Furniture: Watering Can, Table, Bench, Pond

Accessories:

Chou Chou, Oversized Uniqlo Shirt, Admin Shirt, Mahjong Tile, Airpods,
Starbucks Drink, Sunglasses


Scanner

The scanner will also be able to detect 7 different types of local cuisines

Food: Chicken Rice, Roti Prata, Nasi Lemak, Hokkien Mee, Chicken Wing,
Satay, Carrot Cake


How to run the App

Prerequisites

  • Node.js (v18 or later)
  • npm
  • Expo CLI
  • Xcode

IOS Simulator (For Mac Users with Xcode Simulator installed)

1. Click on the drive below to download the tar.gz file

Press here for Google drive link containing the tar.gz file

2. Double-click the .tar.gz file to extract NutriNexus.app

Screenshot 2025-06-01 at 11 50 34 PM

3. After downloading Xcode, in the top meu click Xcode -> Open Developer Tool -> Simulator

4. Once Simualtor is opened, in the top menu click File -> Open Simulator and select any IOS Phone

5. Drag the NutriNexus.app into your IOS Phone Simulator (do not try to double click it, you will get an error claiming there are no sources that can open the .app file)

6. You should see this screen below on the simulator

photo_6188278396241429893_y

7. Open VS Code and run the following command in your terminal

git clone https://github.com/PeanutButter1212/NutriNexus.git

8. Search for the NutriNexus folder in your downloads folder (or whichever location you set your default download location as) and open it in VS code (or whichever IDE you use)

9. Run the following lines in your terminal below

npm i
npx e

Android Preview Build (For Android Devices only)

1. Scan the QR Code below

Screenshot 2025-06-30 at 11 11 46 AM

2. Click install on the site that the QR code has redirected you to (ensure you allow download from unknown sources)

photo_6188278396241429890_y

How to use NutriNexus

1. Sign Up

  • Enter your email address and click on login
  • You will be redirected to a OTP page
  • Be sure to allow location access when prompted

2. Enter OTP

  • A 6 digit OTP will be sent to your email address, enter the pin and you will be brought to the profile page
  • The next time you enter the application, you will not need to login anymore

Guide to using our application

Profile Page

On here you will see the personal dashboard, where you can:

  • A circular visual indicator to dynamically render how close the user is to exceeding the calories limit for the day (as set in the details page)
  • Shop button to access the shop
  • Change Character button where you can edit your avatar
  • View number of points earned in the account
  • View number of steps taken on the current day, as well as calories burnt on the day itself from steps taken
  • Every account will be give 1000 points at the start, refresh to obtain them
  • Toogle between statictic and food log to :
    • View steps/calories taken every day over the current week on the bargraph by clicking on graph
    • Activity log showing entries of all the food logged
  • Click on settings to logout, edit your details (calorie goal, age, weight, height, gender) and edit username or upload profile picture

Scanner Page

  • Grant camera permssion when prompted
  • Point the picture at your food (at the moment, our system can detect prata, chicken rice and nasi lemak) and click on "Upload" button
  • After approximately 6 seconds, the food and its corresponding calories will be updated in their corresponding fields
  • Click on submit to add the meal entry into your account's activity log. You will notice this will update your activity log which can be accessed in the profile page

Garden Page

  • Drag and drop items from your inventory onto the tile map above
  • Once your done the layout will be automatically saved
  • You will be given 5 of 2 different plants for testing purposes

Map Page

  • There are markers all aroud Singapore representing hawkers for you to interact with
  • On click you will be brought to a screen with the details of the food place and awarded 200 points for first visit
  • Scroll through stalls to view all stalls available
  • Clicking a stall will show a popup with the list of healthy food
  • Checking the box will grant you 10 points and disable it

Shop Page

  • Toggle between decor and accessories to view the purchase options
  • Click on item to purchase it which will show a confirmation popup
  • Once confirmed points will be deducted and item added to invenotry (not implemented)

Customise Avatar

  • You will be given 5 accessories to test
  • Toggle between the body parts to view accessories
  • Click on the accessory to see it on the avatar and click again to remove it
  • Once done click save to see the updated avatar on the profile page

Social Page

  • Click on add friends and search for friends username to add them
  • When searching, status of friendship will be shown next to name with corresponding actions (not friended: option to add friend, requested: option to cancal request, self: no action, friended: no action)
  • You can accept/reject friend requests by clicking the friend request button
  • Once you accept/others accept your request, they will appear in friends list
  • Click on the arrow beside their entry to view statistics(number of friends, number of places visited, total points, avatar layout and garden layout) you can also remove them as friend here

Timeline and Development Plan

Milestone Tasks Description Period
1 Functional Login Page Frontend: Login, Signup, Auth, Details page
Backend: Supabase account creation
11 May
2 Profile Page Frontend: Weekly insights, charts, stats, avatar, food log
Backend: Link goals
18 May
YOLO Model Training Train YOLO to identify selected food 25 May
Scanner Page Frontend: Access camera, display calories
Backend: Store/update food log
1 June
Evaluation MS 1 Login, Profile, Scanner (Basic features) 2 June
3 Shop Page Frontend: Show items, confirm purchase
Backend: Store, update points/inventory
8 June
Garden Page Frontend: Tile system, design, inventory
Backend: Store layout
15 June
Maps Page Show current location icon 23 June
Evaluation MS 2 Garden, Shop, Maps Page (First working prototype) 30 June
4 Maps Enhancements Add icons, pop-ups, list of food/stores
Backend updates
5 July
Social Page Frontend: Friends List
Backend: Store user IDs
12 July
Avatar Customisation Frontend: Avatar model, inventory
Backend: Store avatar
19 July
Testing Unit + Integration Testing 27 July
Evaluation MS 3 Maps, Social, Avatar, Testing (Core + Extensions) 28 July
5 Challenges Page Frontend: Challenge list
Backend: Store + update points
8 August
Additional Assets Create remaining visual assets 15 August
Refinement Testing, debugging, feedback 22 August
Final Launch Splashdown 26 August

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

 
 
 

Contributors