Skip to content

Latest commit

 

History

53 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Wirtualna Półka - Virtual Shelf Project

Overview

A "Digital Twin" store shelf management system.

  • Backend: Laravel 12 (API, Sanctum)
  • Frontend: Vue 3 (Composition API, Pinia, Tailwind 4)
  • Database: SQLite

Completed Work

  • Backend Structure: Configured SQLite, created Product model, migration, factory, seeder, and controllers (AuthController, ProductController).
  • Frontend Structure: Setup Axios, Pinia Stores (auth, product), Reusable Components (ProductCard, Modal, Input), and Views (LoginView, ShelfView).
  • Styling: Premium "Dark/Light" mode compatible design with Tailwind CSS.

How to Run

Important

The development environment seems to be missing php, npm, and git in the system PATH. You must ensure these are accessible or run the commands in an environment that supports them.

Backend

  1. Navigate to backend:
    cd backend
  2. Install dependencies:
    composer install
  3. Setup Database:
    # Ensure database.sqlite exists
    touch database/database.sqlite
    php artisan migrate --seed
  4. Generate Key:
    php artisan key:generate
  5. Serve:
    php artisan serve

Frontend

  1. Navigate to frontend:
    cd frontend
  2. Install dependencies:
    npm install
  3. Run Dev Server:
    npm run dev

Credentials

  • The Seeder allows creating a user. You may need to create one manually using php artisan tinker:
    User::factory()->create(['email' => 'admin@store.com', 'password' => 'password']);
  • Use admin@store.com / password to login.

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages