Skip to content

Web system developed to facilitate the administration of a natural medicine sales business

Notifications You must be signed in to change notification settings

AxelAlemanD/Web-system-natural-medicines

Repository files navigation

Web system for managing the sale of natural medicines

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.

Visuals

Dashboard

Dashboard.mp4

Products

Products.mp4
Create.product.mp4
Show.product.mp4
Update.product.mp4
Delete.product.mp4

Customers

Customers.mp4
Create.customer.mp4
Show.customer.mp4
Update.customer.mp4
Delete.customer.mp4

Sales

Sales.mp4
Create.sale.mp4
Show.sale.and.update.payment.mp4
Return.product.mp4

Requeriments

Installation

Write permissions:

sudo chmod -R 777 storage
sudo chmod -R 777 bootstrap/cache    

Install dependencies:

composer install
npm install

Generate configuration file

In the root of the folder rename the file .env.example to .env or use

cp .env.example .env

Generate API Key

php artisan key:generate

Migrations.

  • 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 database

    php 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

Starting a local development server

php artisan server

About

Web system developed to facilitate the administration of a natural medicine sales business

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published