Application for managing a bookstore inventory.
The base application allows you to:
- Product management
- Category management
- Inventory movements
- Vue 3: JavaScript framework for building user interfaces.
- Vuetify 3: Material Design component framework for Vue.js.
- Laravel 11: PHP framework for building web applications.
- MySQL: Relational database management system.
- Clone the repository:
git clone https://github.com/daiv05/inventory-library-app.git
cd inventory-library-app- Navigate to the frontend directory:
cd frontend- Install dependencies:
npm install- Copy
.env.exampleto.envand adjust environment variables as needed:
cp .env.example .env- Start the development server:
npm run devImportant
The configured frontend port is 3090
- Navigate to the backend directory:
cd backend- Install dependencies:
composer install- Copy
.env.exampleto.envand adjust environment variables as needed:
cp .env.example .env- Generate the application key:
php artisan key:generate- Generate the JWT secret:
php artisan jwt:secret- Run migrations:
php artisan migrate --seed- Start the development server:
php artisan serve --port 9090Important
The configured backend port is 9090
The project includes a docker-compose.yml file to simplify installation and execution in Docker containers.
- Docker and Docker Compose installed on your machine.
- Clone the repository:
git clone https://github.com/daiv05/inventory-library-app.git
cd inventory-library-app- Before continuing, configure the
.envfiles for frontend and backend, plus the.envfile used by docker-compose. To do this, copy the example files and edit them as needed:
cp frontend/.env.example frontend/.env
cp backend/.env.example backend/.env
cp .env.example .envThe docker-compose .env file configures database credentials and an initial database. The remaining environment variables are configured in the frontend and backend .env files.
Important
Make sure the database name in the docker-compose .env file matches the one used in the backend .env, as well as the username and password.
Also, the DB_HOST value in the backend .env file must be mysql (DO NOT use localhost), which is the database service name in docker-compose.yml.
- Build and start the containers:
docker-compose up -d --build- Run the following commands to finish backend setup:
docker-compose exec backend php artisan jwt:secret --force
docker-compose exec backend php artisan migrate --seed
docker-compose exec backend php artisan storage:link- You can now access the application:
- Frontend:
http://localhost:3090 - Backend:
http://localhost:9090
- Frontend:
Caution
The application runs in development mode. Source code changes will be reflected automatically in the containers.
Copyright (c) 2025-present David Deras



