A simplified social media platform built by "Cool Team Name" with React and Supabase for the really cool Professfor and CSS 481 class project at UW Bothell.
friendmesh/: React application with Supabase integration (runs onhttp://localhost:3000)
Visit friendmesh.vercel.app or follow the setup instructions below to run locally.
-
Clone the Repository:
git clone https://github.com/KyleDobyns/friendmesh.git cd friendmesh -
Install Dependencies:
- Navigate to the project directory:
cd friendmesh npm install
- Navigate to the project directory:
-
Supabase Setup:
- Sign up at Supabase.
- Create a new project and obtain
SUPABASE_URLandSUPABASE_ANON_KEY. - Create a
.envfile in thefriendmeshdirectory:REACT_APP_SUPABASE_URL=your-supabase-url REACT_APP_SUPABASE_ANON_KEY=your-supabase-anon-key - Important: Never commit
.envto the repository.
-
Start the Application:
- From the
friendmeshdirectory:npm start
- Opens
http://localhost:3000(React app).
- From the
-
Install Git:
- Make sure Git is installed:
git --version
- Configure your Git username and email:
git config --global user.name "Your Name" git config --global user.email "your.email@example.com"
- Make sure Git is installed:
- Supabase Client: Configure Supabase connection in
friendmesh/src/supabaseClient.js. - Database: Configure Supabase tables via the Supabase dashboard.
- Debugging:
- Check the browser console for React errors.
- Monitor the Network tab in browser DevTools for Supabase API calls.
- Use Supabase dashboard to verify database operations.
- Port Conflicts: If
localhost:3000is in use, stop other processes or the port will be automatically incremented.
- Command not working? Make sure you're in the
friendmesh/directory and rannpm install. - Supabase connection errors? Verify your
.envfile has the correct keys and they start withREACT_APP_. - Can't push changes? Verify you've accepted the collaborator invitation.
- Application not loading? Check the browser console for errors and ensure Supabase project is active.
MIT License