This project is a web application built with Laravel, ReactJS with Vite, and Stisla Admin Template. The web application is designed to provide a user-friendly interface, and used for inventory purposes in companies and businesses.
- backend: Contains the Laravel project
- frontend: Contains the ReactJS project
- Dashboard
- Category, Locations, Items
- Opening Balance Items, Stock In, Stock Out, Stock Opname
- Stock Card
- Report
- Setting Users (active/non-active)
- Multirole users: admin, users
- PHP >= 8.1 or new
- Composer
- Node.js last version
- NPM last version
- MySQL or MariaDB last version
- Clone this repository to your local machine:
git clone https://github.com/fhmiibrhimdev/react-vite-inventories.git
- Install the dependencies for the Laravel project:
cd backend
composer install
- Create a .env file for your Laravel project and configure your database settings:
cp .env.example .env
- Generate a new APP_KEY for your Laravel project:
php artisan key:generate
- Run database migrations:
php artisan migrate:fresh --seed
- Run JWT Secret and Storage Link:
php artisan jwt:secret
php artisan storage:link
- Install the dependencies for the ReactJS project:
cd ../frontend
npm install
- Start the development server for the ReactJS project:
npm run dev
- Start the development server for the Laravel project:
cd ../backend
php artisan serve
- Visit Localhost in your web browser to access the web application.
This project is licensed under the MIT License. See the LICENSE file for more details.