Web system developed to facilitate the administration of a natural medicine sales business. This system is made up of two parts:
-
Administration panel: Its purpose is to facilitate the administration of the business, allowing:
- Create, Read, Update and Delete products
- Create, Read, Update and Delete customers
- Create, Read, Update and Delete sales
- Get statistical data on sales and products
-
Website: Its purpose is to provide customers with information on existing products, both their price and availability, likewise, it allows you to add a comment and/or like the products; Additionally, it allows you to search for products by name or filter them by category.
Dashboard.mp4
Products.mp4
Create.product.mp4
Show.product.mp4
Update.product.mp4
Delete.product.mp4
Customers.mp4
Create.customer.mp4
Show.customer.mp4
Update.customer.mp4
Delete.customer.mp4
Sales.mp4
Create.sale.mp4
Show.sale.and.update.payment.mp4
Return.product.mp4
sudo chmod -R 777 storage
sudo chmod -R 777 bootstrap/cache
composer install
npm install
In the root of the folder rename the file .env.example
to .env
or use
cp .env.example .env
php artisan key:generate
-
Create a database using phpmyadmin or the mysql console.
-
Open the .env file from Generate Configuration File.
-
They are placed in the MySQL section (line 11 approx.)
-
There you edit the value of the DB_DATABASE field, placing the name of the database you created. The result is DB_DATABASE=databaseName.
-
Then just run the migrations with
php artisan migrate --seed
Generates migrations and populates the DB with default data
-
Utilities
This deletes all the tables from the databasephp artisan db:wipe
This deletes all the tables from the database and recreates all the tables. The --seed option populates the DB with default data
php artisan migrate:refresh --seed
php artisan server