jdh / backbone
A simple database manager.
Installs: 14
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 0
Language:JavaScript
Type:project
This package is not auto-updated.
Last update: 2024-10-29 04:36:41 UTC
README
Create db Delete db many to many creation of middle table
Backbone
About
This project was created using Laravel, InertiaJS, ReactJS and was created to save the user time when dealing with table data for that specific website.
Getting Started
1. Install Laravel, Inertia, and React.
```
composer create-project laravel/laravel example-app
composer require laravel/breeze --dev
php artisan breeze:install react
```
2. Add 'Backbone' to your composer.json file.
```
composer.json
"require": {
"php": "^8.1",
"guzzlehttp/guzzle": "^7.2",
"inertiajs/inertia-laravel": "^0.6.3",
"laravel/framework": "^10.10",
"laravel/sanctum": "^3.2",
"laravel/tinker": "^2.8",
"tightenco/ziggy": "^1.0",
"jdh/backbone": "dev-main"
},
"autoload": {
"psr-4": {
"App\\": "app/",
"Database\\Factories\\": "database/factories/",
"Database\\Seeders\\": "database/seeders/",
"JDH\\Backbone\\": "vendor/jdh/backbone/src/"
}
},
```
3. Add 'Backbone' to your config app file.
```
config\app.php
'providers' => ServiceProvider::defaultProviders()->merge([
/*
* Package Service Providers...
*/
/*
* Application Service Providers...
*/
App\Providers\AppServiceProvider::class,
App\Providers\AuthServiceProvider::class,
// App\Providers\BroadcastServiceProvider::class,
App\Providers\EventServiceProvider::class,
App\Providers\RouteServiceProvider::class,
JDH\Backbone\BackboneServiceProvider::class,
])->toArray(),
```
note to me above step auto dont on set up
5. Run npm.
```
npm install preline
```
6. Add content and plugin to your tailwind config file.
```
module.exports = { content: [ 'node_modules/preline/dist/*.js', ], plugins: [ require('preline/plugin'), ],}
```
7. Add import preline to your app.js file.
```
import('preline')
```
8. Run backbone command
```
php artisan set:up
```
9. Run reactjs icon
```
npm install react-icons --save
```
4. Run composer update.
```
composer update
```
10. Migration
```
php artisan migrate:fresh
```