Welcome to the frontend application for Roominate! This is a modern, responsive React application built with Vite and properly integrated with our Supabase database backend.
The dependencies are cleanly tracked in the package.json file.
You only need Node.js installed on your system to run it.
- Download Node.js from nodejs.org (LTS version recommended).
-
Clone the repository and open a terminal inside the project root layer.
-
Navigate into the frontend folder:
cd frontend -
Install the dependencies: run:
npm install
-
Set up Environment Variables: You must create a file called
.envdirectly inside thefrontend/folder matching this exact structure:VITE_SUPABASE_URL=https://hkplugddvmhsuovxgdgz.supabase.co VITE_SUPABASE_ANON_KEY=your_team_secret_anon_key_here
just replace the 'your_team_secret_anon_key_here' with the supabase public anon key.
-
Start the Development Server:
npm run dev
-
The application will start running on
http://localhost:5173. Open this URL in your browser to view the application!