๐Ÿš€ Astro Aura ๐Ÿš€

โœจ Inspiration โœจ

We wanted to solve the mental and physical health problems of the effect of isolation on astronauts. We wanted to create a fun and engaging way for astronauts to stay active and sane while also socializing with their fellow astronauts while on a long mission.

โ‰๏ธ What it does โ‰๏ธ

When an astronaut signs up, their name and mission duration is stored. We then used a Large Language Model (LLM) to generate an activity plan for them to follow.

Every day, an astronaut is given 2 missions to do.

  • One mission is part of their overall plan
    • For every day of a month, the astronaut is encouraged to do a different activity every day as outlined in their overall plan.
    • If the astronaut fails to complete this task, they receive a deduction from their aura.
  • Daily challenge
    • All astronauts have the same daily challenge, and they're awarded with more aura than the above task upon completion
    • Since these tasks are optional, the astronaut won't lose aura if they fail to complete them.

Completing challenges earns aura, which is our take on a points system. The astronaut with the most aura is the coolest person on the spaceship. Be careful though! Missing a day of your planned tasks will make you lose aura.

๐Ÿ—๏ธ How we built it ๐Ÿ—๏ธ

Our app stack includes Supabase for the database and Next.JS for full-stack.

  1. We provisioned the table in Supabase.
  2. We designed the system prompts, purchased OpenAI API credits, and wrote the gpt-4o-mini integration.
  3. The backend team wrote the API routes while the frontend team planned out the frontend in Figma.
  4. After the design was done, we added user authentication.
  5. We focused on implementing the frontend, provisioning work among the members.
  6. Then, we linted the app and improved the overall code style.
  7. ๐Ÿš€๐Ÿš€๐Ÿš€ using Vercel.

๐Ÿงจ Challenges we ran into ๐Ÿงจ

Unfortunately, Astro Aura was not the first idea we came up with. We scrapped our original idea a few hours into the hackathon, ultimately losing 2.5 hours of hacking time.

We also ran into several merge conflicts along the way, as well with issues with Server-Side Rendering (SSR) and Node.js' fetch library link system.

๐Ÿ† Accomplishments that we're proud of ๐Ÿ†

  1. โœ… We shipped the app successfully
  2. โœ… We learned a lot about system prompt design and ultimately came up with a good system prompt
  3. โœ… We successfully added user authentication to our app faster than we expected

๐Ÿ“– What we learned ๐Ÿ“–

  • OpenAI's API and prompt engineering
  • Refreshed knowledge of Supabase and SQL

๐Ÿ’Ž What's next for Astro Aura ๐Ÿ’Ž

  • "Credit" and "streak saver" system as micro-transactions
  • Syncing data across missions
  • Multiple daily challenges

Built With

  • nextjs
  • openai
  • react
  • supabase
Share this project:

Updates