Skip to content

Recreation of the homepage of DC Comics made with PHP , CSS , SCSS , JS , Axios and Laravel ◦ Developed during the course of Full-Stack Web Developer with Boolean

Notifications You must be signed in to change notification settings

AnielloPiscopo/laravel-dc-comics

Repository files navigation

Laravel
LARAVEL-DC-COMICS

◦ Recreation of the homepage of DC Comics made with PHP , CSS , SCSS , JS , Axios and Laravel

◦ Developed during the course of Full-Stack Web Developer with Boolean

◦ Link of the same project made with Vue and Vite: https://aniellopiscopo.github.io/vite-comics/

SVG JavaScript Sass PHP Laravel CSS3 Sass Axios Lodash Markdown JSON

GitHub top language GitHub code size in bytes GitHub commit activity GitHub license

📒 Table of Contents


🧩 Modules

Root
File Summary
Controller.php This is the main controller of the app.
ComicController.php This is the controller dedicated to the view of the comics in the admin section.
ComicController.php This is the controller dedicated to the view of the comics in the guest section.
Comic.php This is the model for the db of the comics.
User.php This is the model for the db of the users.
comics.php This is a php with the comics infos.
ComicsTableSeeder.php This is the seeder dedicated to the comics.
DatabaseSeeder.php This is the general seeder of the app.
index.php This is the index file.
app.js This is the
bootstrap.js HTTPStatus Exception: 429
deleteComicElement.js This is the file js dedicated to the creation of the pop-up during the elimination of the comics in the admin section.
app.scss This is the main scss file.
general.scss This is a scss file containing general styles.
_comics.scss This is the scss file for the comics section in the guest part.
_footer.scss This is the sccs file for the footer.
_header.scss This is the scss file for the header.
_loader.scss This is the scss file for the loader.
_variables.scss This is a scss file containing the global variables.
home.blade.php This is the homepage of the admin section.
create.blade.php This is the create page for the comic model in the admin section.
edit.blade.php This is the edit page for the comic model in the admin section.
index.blade.php This is the index page for the comic model in the admin section.
show.blade.php This is the show page for the comic model in the admin section.
form.blade.php This is the form partial file for the comic model in the admin section.
comics.blade.php This is the page for the comics in the guest section.
home.blade.php This is the homepage of the guest section.
app.blade.php This is the main layout of the page.
footer.blade.php This is the partial file containing the footer.
header.blade.php This is the partial file containing the header.
web.php This is the main php dedicated to the routes.

🚀 Getting Started

✔️ Prerequisites

Before you begin, ensure that you have the following prerequisites installed:

  • ℹ️ PHP: Ensure you have PHP installed on your system. Laravel requires PHP 7.3 or later. You can check the installed PHP version by running the php -v command in your terminal.
  • ℹ️ Composer: Composer is a PHP package manager widely used with Laravel. Make sure you have it installed on your system. You can verify this by running the composer --version command in the terminal.
  • ℹ️ Database: If the Laravel application uses a database, you'll need to ensure it's configured correctly. Laravel supports various databases, including MySQL, PostgreSQL, SQLite, and SQL Server.
  • ℹ️ Web Server: Laravel can run on various web servers, but one of the most common choices is Apache or Nginx. Ensure you have a web server configured and running on your system.

📦 Installation

  1. Clone the laravel-dc-comics repository:
git clone https://github.com/AnielloPiscopo/laravel-dc-comics
  1. Change to the project directory:
cd laravel-dc-comics
  1. Copy the .env.example file to a new file named .env and set the necessary environment variables for configuring the application, such as the database connection.

  2. Install the dependencies:

composer install
  1. Generate a secret key for the Laravel application:
php artisan key:generate
  1. Run database migrations (if needed) to create database tables.
php artisan migrate
  1. Run database seeders (if needed) to fill database tables.
php artisan db:seed

🎮 Using laravel-dc-comics

  1. Use:
php artisan serve

2: Go to http://localhost:8000

🧪 Running Tests

vendor/bin/phpunit

About

Recreation of the homepage of DC Comics made with PHP , CSS , SCSS , JS , Axios and Laravel ◦ Developed during the course of Full-Stack Web Developer with Boolean

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published