30 Plants a Week Tracker – React Native app built for the GitHub Copilot Challenge

This is a submission for the GitHub Copilot Challenge : New Beginnings

What I Built

For a year or so now, I’ve been doing the “30 plants a week” thing, whereby I try to make sure that every week, I eat at least 30 different plants over the …


This content originally appeared on DEV Community and was authored by Matthew Daly

This is a submission for the GitHub Copilot Challenge : New Beginnings

What I Built

For a year or so now, I've been doing the "30 plants a week" thing, whereby I try to make sure that every week, I eat at least 30 different plants over the course of a week. This has been noticeably beneficial for my health.

In the past I've used the Android notes app to manage this, which works, but is less than optimal for this use case:

  • It's easy for duplicates to sneak in
  • Clearing the list at the start of a new week is a chore

30 Plants a Week Tracker is the solution I came up with. It's a very simple app that works entirely offline and stores the data locally.

It was also an opportunity to stretch my wings a bit. I used to build mobile apps for a living with Phonegap, but that's no longer maintained, and I haven't worked on a mobile app for nearly a decade. I also wanted to work with React Native and so I decided that this would be my first app built with that

Demo

Screenshot of the main page of the 30 Plants a Week Tracker app

Check it out.

Repo

GitHub logo matthewbdaly / 30-plants-tracker

React Native app for tracking consumption of 30 plants a week

Welcome to your Expo app 👋

This is an Expo project created with create-expo-app.

Get started

  1. Install dependencies

    npm install
  2. Start the app

     npx expo start

In the output, you'll find options to open the app in a

You can start developing by editing the files inside the app directory. This project uses file-based routing.

Get a fresh project

When you're ready, run:

npm run reset-project

This command will move the starter code to the app-example directory and create a blank app directory where you can start developing.

Learn more

To learn more about developing your project with Expo, look at the following resources:

Copilot Experience

On this project, I mostly used Copilot to help me get up and running with a new framework. While I was familiar with React, I had to learn both React Native and Expo from scratch on this project. Copilot definitely helped make this easier.

A lot of the most useful help I had from Copilot was finding suitable off-the-shelf solutions for various problems, such as a storage system. It was also useful for getting basic styles set up to get me started with an unfamiliar styling system.

GitHub Models

No, I didn't use GitHub Models for this project.

Conclusion

Building my first toy project with React Native was an interesting way to learn the basics of the framework. There's clearly a lot more to learn, but I'm eager to carry on working with it in future, and developing this app further.


This content originally appeared on DEV Community and was authored by Matthew Daly


Print Share Comment Cite Upload Translate Updates
APA

Matthew Daly | Sciencx (2025-01-19T21:27:40+00:00) 30 Plants a Week Tracker – React Native app built for the GitHub Copilot Challenge. Retrieved from https://www.scien.cx/2025/01/19/30-plants-a-week-tracker-react-native-app-built-for-the-github-copilot-challenge/

MLA
" » 30 Plants a Week Tracker – React Native app built for the GitHub Copilot Challenge." Matthew Daly | Sciencx - Sunday January 19, 2025, https://www.scien.cx/2025/01/19/30-plants-a-week-tracker-react-native-app-built-for-the-github-copilot-challenge/
HARVARD
Matthew Daly | Sciencx Sunday January 19, 2025 » 30 Plants a Week Tracker – React Native app built for the GitHub Copilot Challenge., viewed ,<https://www.scien.cx/2025/01/19/30-plants-a-week-tracker-react-native-app-built-for-the-github-copilot-challenge/>
VANCOUVER
Matthew Daly | Sciencx - » 30 Plants a Week Tracker – React Native app built for the GitHub Copilot Challenge. [Internet]. [Accessed ]. Available from: https://www.scien.cx/2025/01/19/30-plants-a-week-tracker-react-native-app-built-for-the-github-copilot-challenge/
CHICAGO
" » 30 Plants a Week Tracker – React Native app built for the GitHub Copilot Challenge." Matthew Daly | Sciencx - Accessed . https://www.scien.cx/2025/01/19/30-plants-a-week-tracker-react-native-app-built-for-the-github-copilot-challenge/
IEEE
" » 30 Plants a Week Tracker – React Native app built for the GitHub Copilot Challenge." Matthew Daly | Sciencx [Online]. Available: https://www.scien.cx/2025/01/19/30-plants-a-week-tracker-react-native-app-built-for-the-github-copilot-challenge/. [Accessed: ]
rf:citation
» 30 Plants a Week Tracker – React Native app built for the GitHub Copilot Challenge | Matthew Daly | Sciencx | https://www.scien.cx/2025/01/19/30-plants-a-week-tracker-react-native-app-built-for-the-github-copilot-challenge/ |

Please log in to upload a file.




There are no updates yet.
Click the Upload button above to add an update.

You must be logged in to translate posts. Please log in or register.