HomePROYECTOS

Tienda Casa de los Comics

¡Tienda de cómics, manga y merchandising con Laravel!
Oct 14 2021
3 min readPHP, SQL
La Casa de los Comics

CASA DE LOS COMICS

imageTitle
imageTitle

Laravel, PHP y MySQL

Tienda online realizada en Laravel y Braintree para pagos con Paypal.

StoreGIF
StoreGIF

Características

Productos, Pago, Carrito, Pedidos, Checkout, Panel de administración, Paypal, Mastercard o Visa.

📦 Productos

Products
Products
Product
Product

🛒 Carrito

Cart
Cart

ℹ️ Registro

Cart
Cart

💁 Acerca de

Cart
Cart

Las tablas se cargan desde la base de datos llamada dbventascc en phpmyadmin.

🏨 Bases de datos

Cart
Cart

Tabla de Administradores

#SQL
1-- --------------------------------------------------------
2
3--
4-- Estructura de tabla para la tabla `admins`
5--
6
7CREATE TABLE IF NOT EXISTS `admins` (
8  `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT,
9  `name` varchar(50) COLLATE utf8mb4_unicode_ci NOT NULL,
10  `email` varchar(150) COLLATE utf8mb4_unicode_ci NOT NULL,
11  `password` varchar(100) COLLATE utf8mb4_unicode_ci NOT NULL,
12  `remember_token` varchar(100) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
13  `created_at` timestamp NULL DEFAULT NULL,
14  `updated_at` timestamp NULL DEFAULT NULL,
15  PRIMARY KEY (`id`),
16  UNIQUE KEY `admins_email_unique` (`email`)
17) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
18
19--
20-- Volcado de datos para la tabla `admins`
21--
22
23INSERT INTO `admins` (`id`, `name`, `email`, `password`, `remember_token`, `created_at`, `updated_at`) VALUES
24(1, 'admin', 'admin@root.com', '$2y$10$rGSPlWzTNYA.TrstOhMk.OQxt61X70IhN6ekvk328hFEEEMJIGMby', 'am6MEUQjGTeNmjnASaeBKpzbyrOfqPM39BK7qp0zaC0axXJncsvoUeXXaV8P', '2021-05-03 08:12:39', '2021-05-03 08:12:39');
25
26-- --------------------------------------------------------
27

Tabla de Pagos

#PHP
1<?php
2
3/**
4 * Laravel - A PHP Framework For Web Artisans
5 *
6 * @package  Laravel
7 * @author   Taylor Otwell <taylor@laravel.com>
8 */
9
10$uri = urldecode(
11    parse_url($_SERVER['REQUEST_URI'], PHP_URL_PATH)
12);
13
14// This file allows us to emulate Apache's "mod_rewrite" functionality from the
15// built-in PHP web server. This provides a convenient way to test a Laravel
16// application without having installed a "real" web server software here.
17if ($uri !== '/' && file_exists(__DIR__.'/public'.$uri)) {
18    return false;
19}
20
21require_once __DIR__.'/public/index.php';
22
23

💻 Consola

Console
Console

Funciones de Hashing para contraseñas

#SQL
1<?php
2
3return [
4
5    /*
6    |--------------------------------------------------------------------------
7    | Default Hash Driver
8    |--------------------------------------------------------------------------
9    |
10    | This option controls the default hash driver that will be used to hash
11    | passwords for your application. By default, the bcrypt algorithm is
12    | used; however, you remain free to modify this option if you wish.
13    |
14    | Supported: "bcrypt", "argon"
15    |
16    */
17
18    'driver' => 'bcrypt',
19
20    /*
21    |--------------------------------------------------------------------------
22    | Bcrypt Options
23    |--------------------------------------------------------------------------
24    |
25    | Here you may specify the configuration options that should be used when
26    | passwords are hashed using the Bcrypt algorithm. This will allow you
27    | to control the amount of time it takes to hash the given password.
28    |
29    */
30
31    'bcrypt' => [
32        'rounds' => env('BCRYPT_ROUNDS', 10),
33    ],
34
35    /*
36    |--------------------------------------------------------------------------
37    | Argon Options
38    |--------------------------------------------------------------------------
39    |
40    | Here you may specify the configuration options that should be used when
41    | passwords are hashed using the Argon algorithm. These will allow you
42    | to control the amount of time it takes to hash the given password.
43    |
44    */
45
46    'argon' => [
47        'memory' => 1024,
48        'threads' => 2,
49        'time' => 2,
50    ],
51
52];
53

Las funciones CRUD están disponibles en la clase App\Http\Controllers\AdminController.

🍏 Panel / Dashboard

Panel
Panel

Creador de informes (EXCEL, XML o CSV)

Informer creator
Informer creator

Crear y actualizar un cliente o empleado

Update client
Update client

Lista de categorías

Category
Category

Página de índice

index
index

⬇ Descargar

El proyecto está obsoleto y no continuaré desarrollándolo, pero puedes descargarlo y solucionar los errores.

Descargar

📝 Licencia

Copyright © 2024 aiskoa.

Did you like this article? Share it!

© 2025