This project is a React application that periodically seeds vehicle location data to a Supabase database.
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes.
- Node.js
- npm or pnpm or yarn
-
Clone the repository:
git clone https://github.com/madushas/vehicle-tracking.git
-
Install the dependencies:
cd vehicle-tracker npm install
-
Create a
.env
file in the root directory and add your Geocode API key:REACT_APP_GEOCODE_API_KEY=your_api_key_here
-
Start the development server:
npm start
pnpm run dev
yarn start
- React - The JavaScript framework used
- Tailwind CSS - The CSS framework used
- Supabase - The database used
- openmaptiles - The map tiles used
Navigate to the LocationSeederPage
in your browser to start seeding vehicle location data to your database.
Please read CONTRIBUTING.md
for details on our code of conduct, and the process for submitting pull requests to us.
This project is licensed under the MIT License - see the LICENSE.md
file for details.