Skip to content

AmbitiousFlowDev/Pole-IT

Repository files navigation

Pole-IT

Laravel SQLite Filament Livewire


Project Structure

Key Directories

  • app: Contains the core application logic, including resources, controllers, and models.
    • Filament/Resources: Defines Filament resources like ActivityResource, BlogResource, ProductResource, etc.
    • Http/Controllers: Houses application controllers.
    • Models: Contains Eloquent models.
    • Providers: Includes custom service providers.
  • config: Application configuration files.
  • database: Database migrations, factories, and seeders.
  • public: Publicly accessible assets such as CSS, JavaScript, and images.
  • resources: Contains front-end resources like views, CSS, and JavaScript.
    • views: Includes Blade templates for pages like auth, home, and shop.
  • routes: Contains route definitions.
  • storage: Stores files, logs, and cache data.
  • tests: Automated tests for the application.

Features

  • Filament Admin Panel: Manage resources such as products, orders, and blogs.
  • Livewire Integration: Build reactive and dynamic front-end components.
  • SQLite Database: Lightweight database for quick setup and development.
  • Customizable Views: Organized templates for pages like the shop and home.

Installation

  1. Clone the repository:

    git clone <repository_url>
    cd <project_directory>
  2. Install dependencies:

    composer install
    npm install
  3. Set up environment variables: Copy .env.example to .env and configure it for SQLite:

    DB_CONNECTION=sqlite
    DB_DATABASE=database/database.sqlite

    Create the SQLite database file:

    touch database/database.sqlite
  4. Run migrations:

    php artisan migrate --seed
  5. Start the development server:

    php artisan serve
    npm run dev

Usage

  • Access the application via the URL provided by php artisan serve.
  • Use the Filament admin panel for resource management (/admin by default).

Testing

Run automated tests to ensure the application is functioning as expected:

php artisan test

Contributing

Contributions are welcome! Feel free to submit a pull request or open an issue for bug fixes or feature requests.


License

This project is open-source and available under the GNU LICENSE.


Feel free to adjust as per your needs!

About

Multiservice Web application with Laravel Livewire and Filament.

Topics

Resources

License

Stars

Watchers

Forks

Contributors