HomePROJECTS

Casa de los Comics Store

Comics, manga and merchandising store with Laravel!
Oct 14 2021
3 min readβ€’PHP, SQL
La Casa de los Comics

CASA DE LOS COMICS

imageTitle
imageTitle

Laravel, PHP and MySQL

Online store made in Laravel and Braintree for Paypal payments.

StoreGIF
StoreGIF

Features

Products, Payment, Cart, Orders, Checkout, Payment, Admin panel, Paypal, Mastercard or Visa.

πŸ“¦ Products

Products
Products
Product
Product

πŸ›’ Cart

Cart
Cart

ℹ️ Register

Cart
Cart

πŸ’ About

Cart
Cart

Tables are loaded from the database named dbventascc into phpmyadmin.

🏨 Databases

Cart
Cart

Admins Table

#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

Payments Table

#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

πŸ’» Console

Console
Console

Hashing Functions for passwords

#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

CRUD functions are available in the App\Http\Controllers\AdminController class.

🍏 Panel / Dashboard

Panel
Panel

Inform creator (EXCEL, XML or CSV)

Informer creator
Informer creator

Create and update a client or employee

Update client
Update client

Category list

Category
Category

Index page

index
index

⬇ Download

The project is deprecated and i will not continue to develop it, but you can download it and solve the bugs.

Download

πŸ“ License

Copyright Β© 2024 Aiskoa.

Did you like this article? Share it!

Β© 2025