-
Users can input their height, weight, age, location, and other key characteristics to personalize their survival plan.
-
Displays daily calorie needs and lets users manage food from a curated dataset of 2,500 FDA-approved items.
-
Generates a list of forageable plants based on the user's location, helping users identify local survival food options.
-
Displays a dynamic map highlighting Danger Zones, alerting users to areas affected by nuclear radiation that they should avoid.
Inspiration
In a post-apocalyptic world, survival would depend heavily on proper calorie intake and food management. We wanted to create a tool that could help users stay alive by recommending how much they should eat, what they can forage nearby, and what areas to avoid — all automatically. Plus, we wanted to learn new technologies and just have fun building something cool!
What it does
apocalorie.co helps users survive in a post-apocalyptic setting by: • Calculating daily calorie needs based on height, weight, age, sex, activity level, and location. • Recommending forageable survival foods using AI (Google Gemini API). • Allowing users to track their food inventory and monitor calorie intake. • Showing danger zones on an interactive map (powered by Mapbox). • Providing a curated selection of foods: users can select survival foods from a dataset of 2,500 items sourced from the U.S. Food and Drug Administration (FDA) database.
How we built it
We built apocalorie.co with: • React.js for the frontend to make the web app fast and responsive. • Node.js for the backend to handle user data and API integrations. • Google Gemini API for generating survival food recommendations. • Mapbox API for displaying dynamic maps with danger zones. • A curated dataset of 2,500 food items from the FDA website to allow users to select realistic survival foods.
Challenges we ran into
• It was our first hackathon ever, so a lot of the technologies we used and the team problem-solving dynamic was new! • Managing time — there’s always more to build than there’s time!
Accomplishments that we're proud of
• Building a working full-stack app in such a short amount of time. • Successfully integrating Google Gemini and Mapbox APIs. • Designing a fun and useful survival tool. • Most importantly: having so much fun and finishing our first hackathon!
What we learned
• Figuring out how to work effectively within just 24 hours — we had to quickly learn how to prioritize and move fast. • Deciding what tasks were the most meaningful — there were so many ideas we wanted to add, but we had to focus on features that had the biggest impact. • Balancing learning and building — since it was our first hackathon, we wanted to try new technologies but also had to keep moving and not get stuck.
What's next for apocalorie.co
• Making AI recommendations even smarter by tailoring them to the user's exact location, environment, and available resources. • Integrating more APIs, like a weather API, so users can get real-time weather updates based on their current location — because surviving a sandstorm or freezing night could change everything. • Expanding the danger maps with live updates and more detailed survival information.
Built With
- cors
- dotenv
- express.js
- fs
- gemini
- javascript
- mapbox
- ngrok
- node.js
- react.js
Log in or sign up for Devpost to join the conversation.