This monorepo contains both the frontend and backend components of the Pallet extension for Fleetbase. The frontend is built using Ember.js and the backend is implemented in PHP.
npm install cv-pallet-engineThis monorepo contains both the frontend and backend components of the Pallet extension for Fleetbase. The frontend is built using Ember.js and the backend is implemented in PHP.
- PHP 7.3.0 or above
- Ember.js v3.24 or above
- Ember CLI v3.24 or above
- Node.js v14 or above
```
├── 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
Install the PHP packages using Composer:
`bash`
composer require rohit0814/core-api
composer require rohit0814/fleetops
composer require rohit0814/pallet$3
Install the Ember.js Engine/Addon:
`bash`
pnpm install cv-pallet
🧹 Keep a modern codebase with PHP CS Fixer:
`bash`
composer lint
⚗️ Run static analysis using PHPStan:
`bash`
composer test:types
✅ Run unit tests using PEST
`bash`
composer test:unit
🚀 Run the entire test suite:
`bash`
composer test
🧹 Keep a modern codebase with ESLint:
`bash`
pnpm lint
✅ Run unit tests using Ember/QUnit
`bash`
pnpm test
pnpm test:ember
pnpm test:ember-compatibility
🚀 Start the Ember Addon/Engine
`bash`
pnpm start
🔨 Build the Ember Addon/Engine
`bash``
pnpm build