This React.js application allows users to view vehicles, parts, and jobs. This uses Realm Device sync for Web to sync jobs in real-time whenever the jobs gets updated in the Atlas.
To get started with the application, follow these steps:
-
Navigate to the project directory:
cd frontend/fleet-ui
-
Install dependencies:
npm install
Update the App Services Application ID in the config file
To start the application, use the following commands:
-
Start the development server:
npm start
-
Open your browser:
Once the development server starts, the application will be available at:
http://localhost:3000
. -
Enable email-password authentication and create an App User with email and password in Atlas App Services
- The application provides a section to view a list of vehicles.
- Each vehicle listing might include details such as make, model, vin etc.
- Users can access a section to view different parts available.
- Part listings may include details like part number, vehicle etc.
- The application offers a section to view available jobs.
- Job listings can contain information such as status, notes, assignee, etc.