Skip to content

DanielaRuizA/MercaTodo

Repository files navigation

MercaTodo E-commerce

Table of Contents
  1. About MercaTodo
  2. Installation
  3. Login
  4. Env file
  5. Task Scheduling
  6. Images
  7. Export Report
  8. Reports

About MercaTodo

MercaTodo is a E-commerce for the Bootcamp Evertec 2023, this project is made with laravel, Vue.js, Inertia.js and Tailwindcss, we have a admin panel for the basic operations of the CRUD the users and products, we can import and export products in the format .CVS and .XLSX for easy maintenance, for the control of the store we can generate reports for the orders and user and banned users and products. the user can access to the store this have a shopping cart with a payment service placetopay and a orders history for the user. the last improvement is API REST for operations of the CRUD of the products and authentication for the users.

Built With

  • Vue version 3.2.31
  • Laravel version 10.0
  • PHP version 8.1.12
  • Inertiajs version 0.6.8
  • Vitejs version 4.0.0
  • Tailwindcss version 3.1.0

Installation

the order to run the application, you must do the following:

  1. Clone the repository with
git clone https://github.com/DanielaRuizA/MercaTodo.git.
  1. CD for change the directory
cd MercaTodo
  1. Install PHP dependencies:
composer install
  1. Install npm dependencies:
npm install
  1. Create the .env
cp .env.example .env
  1. Generate Key
php artisan key:generate
  1. Add database information, the credentials for placetopay and the email service in the .env file.

  2. Run the database migrations

php artisan migrate --seed
  1. Run this commands for compile the assets o develop mode.
  • You can run the [development mode]
npm run dev
  • Or build the [assets]
npm run build
  1. to see the images, run this
php artisan storage:link
  1. Run the pho dev server
php artisan serve

Login

For use this app in the Admi role use this credentials in the login

Or use the app like a user select a email from the database with the

  • Password: password

.Env file

The .env file contains the configuration of the application. It is important to configure this file for a excellent app performance. mail This app use https://mailtrap.io PlaceToPay https://docs-gateway.placetopay.com/

Database Connection

DB_CONNECTION
DB_HOST
DB_PORT
DB_DATABASE DB_USERNAME
DB_PASSWORD

Mail Configuration

MAIL_MAILER
MAIL_HOST
MAIL_PORT
MAIL_USERNAME MAIL_PASSWORD
MAIL_ENCRYPTION

PlaceToPay Payment Service

PLACETOPAY_LOGIN
PLACETOPAY_TRANKEY
PLACETOPAY_URl

Task Scheduling

th command scheduler offers a fresh approach to managing scheduled in this app.

php artisan queue:work

Images

for storage and see the images save then in the route storage/app/public/images folder.

Export Report

the export of the products is download in this route storage/app/exports

Reports

the reports are download in this route storage\app\reports

About

E-commerce for the Bootcamp Evertec 2023

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages