cvf/fleetops-api

Fleet & Transport Management Extension for Carvach FleetOps

Maintainers

๐Ÿ‘ carvach

Package info

github.com/adminCarVachTech/cvf-fleetops-api

pkg:composer/cvf/fleetops-api

Statistics

Installs: 23

Dependents: 2

Suggesters: 0

Stars: 0

Open Issues: 0

dev-main 2024-07-09 08:10 UTC

MIT 7bcd84c8fbdfa7d666cd5337c4433f69b31e9cbf

This package is not auto-updated.

Last update: 2026-06-23 18:24:48 UTC


README

This monorepo contains both the frontend and backend components of the FleetOps extension. The frontend is built using Ember.js and the backend is implemented in PHP.

Requirements

  • PHP 8.0 or above
  • Ember.js v4.8 or above
  • Ember CLI v4.8 or above
  • Node.js v18 or above

Structure

โ”œโ”€โ”€ addon
โ”œโ”€โ”€ app
โ”œโ”€โ”€ assets
โ”œโ”€โ”€ translations
โ”œโ”€โ”€ config
โ”œโ”€โ”€ node_modules
โ”œโ”€โ”€ server
โ”‚ โ”œโ”€โ”€ config
โ”‚ โ”œโ”€โ”€ data
โ”‚ โ”œโ”€โ”€ migrations
โ”‚ โ”œโ”€โ”€ resources
โ”‚ โ”œโ”€โ”€ src
โ”‚ โ”œโ”€โ”€ tests
โ”‚ โ””โ”€โ”€ vendor
โ”œโ”€โ”€ tests
โ”œโ”€โ”€ testem.js
โ”œโ”€โ”€ index.js
โ”œโ”€โ”€ package.json
โ”œโ”€โ”€ phpstan.neon.dist
โ”œโ”€โ”€ phpunit.xml.dist
โ”œโ”€โ”€ pnpm-lock.yaml
โ”œโ”€โ”€ ember-cli-build.js
โ”œโ”€โ”€ composer.json
โ”œโ”€โ”€ CONTRIBUTING.md
โ”œโ”€โ”€ LICENSE.md
โ”œโ”€โ”€ README.md

Installation

Backend

Install the PHP packages using Composer:

composer require rohit0814/core-api
composer require rohit0814/fleetops-api

Frontend

Install the Ember.js Engine/Addon:

pnpm install cv-fleetops-engine

Usage

Backend

๐Ÿงน Keep a modern codebase with PHP CS Fixer:

composer lint

โš—๏ธ Run static analysis using PHPStan:

composer test:types

โœ… Run unit tests using PEST

composer test:unit

๐Ÿš€ Run the entire test suite:

composer test

Frontend

๐Ÿงน Keep a modern codebase with ESLint:

pnpm lint

โœ… Run unit tests using Ember/QUnit

pnpm test
pnpm test:ember
pnpm test:ember-compatibility

๐Ÿš€ Start the Ember Addon/Engine

pnpm start

๐Ÿ”จ Build the Ember Addon/Engine

pnpm build