Hive is a prototype feature created for the Snapchat app, which can be found on the Maps screen. It was developed by our team of Snap Academy Scholars for the year 2024, consisting of 2 engineers, 2 designers, and 3 marketers.
Follow these steps to set up and run the Hive project on your local machine.
- Node.js and npm (or yarn)
- Visual Studio Code (or any preferred code editor)
- Expo CLI
- Supabase account
- Google Maps API key
- Clone the repository
git clone https://github.com/sona-sar/snap-hive.git
- Open the project in Visual Studio Code
- Install dependencies
npm install
oryarn install
- Create a
.env.local
file in the root directory with the following content:
EXPO_PUBLIC_SUPABASE_URL=<Your Supabase URL>
EXPO_PUBLIC_SUPABASE_ANON_KEY=<Your Supabase Key>
EXPO_PUBLIC_GOOGLE_MAPS_API=<Your Google Maps API Key>
- Create a new project in Supabase
- Note the URL and anon key for your Supabase project (to be used in the
.env.local
file) - Go to the "Table Editor" in your Supabase project
- Upload the provided reference table file to create the necessary database structure Download
- Start the Expo development server:
yarn expo start
- Open the app on your phone using the Expo Go app or your preferred method