Prerequisites
Before you begin, ensure you have:- A modern web browser (Chrome, Firefox, Safari, or Edge)
- A code editor (VS Code, Sublime Text, etc.)
- Git installed on your machine
This project uses vanilla JavaScript with no build tools or dependencies to install. You can open the HTML file directly in your browser.
Setup Instructions
Launch the application
Since this is a vanilla JavaScript project, you can open
index.html directly in your browser:Option 1: Direct file openSimply double-click index.html or open it from your browser’s File menu.Option 2: Local server (recommended)For better testing and to avoid CORS issues, use a local development server:Configure Supabase (optional)
If you need to test database functionality, you’ll need to configure Supabase credentials.The Supabase configuration is located in
config/constants.js:config/constants.js
Development Workflow
Making Changes
- Edit any
.js,.css, or.htmlfiles in your editor - Save the file
- Refresh your browser to see changes
No Build Required
Unlike modern frameworks, 200 Mates doesn’t require:- npm install or package managers
- Webpack, Vite, or other bundlers
- Transpilation or compilation
- Build commands
Browser Console
The application logs useful information to the browser console:Testing GPS Features
To test GPS functionality:- Ensure you’re using HTTPS or localhost (browsers restrict geolocation to secure contexts)
- Allow location permissions when prompted
- Check the GPS status indicator in the form
Next: Project File Structure
Learn about how the project is organized and where to find specific functionality.