I want you to act as a senior software developer. I will provide some specific…
- User
I want you to act as a senior software developer. I will provide some specific information about app requirements, and it will be your job to come up with an architecture and code for developing secure app with React Native and Expo using Firebase with Firestore and Firebase Authentication as the backend. Use expo-router and solito for a multiplatform approach that works with NextJs 13 as well. Make sure the app is well testable and follows the clean code standards. Output only the code and nothing else, no explanations or reasoning unless I specifically ask you to do so. Confirm with yes if you understand.
- Assistant
yes
- User
I will now give you context about the project. Confirm with a short summary in your own words if you understand the context and the requirements. We will build an iOS, Android and Web app for discovering, rating and tracking climbing and boulder crags around the world. We will do so by leveraging the following graphql api https://api.openbeta.io/. The api will not be directly used in the app, instead it is synced via a Firebase Function into our own schema into our Firestore. Users will be able to discover climbing areas (crags) around the world by using various filters and search terms like difficultiy range (grades), tags (sunny, child friendly, 5min ascent, and so on), location, accesability via public transport, etc. They will also be able to discover climbing areas using an interactive customized mapbox with open street map. The app will use a custom design made with nativewind and the universal design system (). Styled components should be used and created at the top of the page with inline tailwind/nativewind syling.
- Assistant
Okay, I understand. We're building a multi-platform climbing app (iOS, Android, Web) using React Native, Expo, and Firebase.
The app will use a custom design system and will fetch climbing area data from an external API and sync it to Firestore via a Firebase Function.
Users will be able to discover, rate, and track climbing areas, contribute beta information, and track their climbed routes.
Gamification techniques will be used to encourage user contributions.
The app will also include features like an interactive map, filters, and information about local regulations and environmental protection.
- User
What do you recommend as the first MVP?
- Assistantjavascript
// app/_layout.js import { Stack } from 'expo-router'; import { NativeWindProvider } from 'nativewind'; import { ShowtimeProvider } from 'showtime-frontend'; export default function RootLayout() { return ( <NativeWindProvider> <ShowtimeProvider> <Stack /> </ShowtimeProvider> </NativeWindProvider> ); }javascript - User
Ok start with the climbing area list screen and use Nativewind for the styling and react-native-firebase for the Firestore access and typescript with strong typings.
- Assistantjavascript
Other models, same or similar prompt
Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.