Skip to content

piotrmizerka/laravel-authentication-crud-many-to-many

Repository files navigation

Running the project locally

Prerequisities: xampp (https://www.apachefriends.org/pl/download.html) and composer (https://getcomposer.org/download/) installed, Laravel version 8 (https://laravel.com/docs/8.x).

To run the project on the local server, follow the steps below (or see: https://devmarketer.io/learn/setup-laravel-project-cloned-github-com/):

  • Launch Apache server and MySQL in xampp.
  • Create the database named 'laravel-crud' (or any other name you like) in the PhPMyAdmin Panel from xampp.
  • Clone the repo to the htdocs folder of xampp.
  • Open the repo in the code editor which provides terminal dealing with php artisan commands (I used Visual Studio Code for this purpose).
  • Run 'composer install' command in the terminal (bash mode in VS Code).
  • Run 'npm install' command in the terminal (bash mode in VS Code).
  • Run 'cp .env.example .env' command in the terminal (bash mode in VS Code).
  • In the just created .env file change the line 'DB_DATABASE=laravel' to 'DB_DATABASE=laravel-crud'.
  • Run 'php artisan key:generate' command in the terminal (bash mode in VS Code).
  • Run 'php artisan migrate:refresh --seed' command in the terminal (bash mode in VS Code) to seed the static data.
  • The application shall be avaible at http://localhost/laravel-authentication-crud-many-to-many/public/.
  • To login as administrator use the following static test credentials: E-Mail Address: admin@gmail.com, Password: admin.

I used this tutorial to create this project: https://www.youtube.com/playlist?list=PLJetLDY7yKup1wDDkQObuRIzCeXYtpNvN.

Build Status Total Downloads Latest Stable Version License

About Laravel

Laravel is a web application framework with expressive, elegant syntax. We believe development must be an enjoyable and creative experience to be truly fulfilling. Laravel takes the pain out of development by easing common tasks used in many web projects, such as:

Laravel is accessible, powerful, and provides tools required for large, robust applications.

Learning Laravel

Laravel has the most extensive and thorough documentation and video tutorial library of all modern web application frameworks, making it a breeze to get started with the framework.

If you don't feel like reading, Laracasts can help. Laracasts contains over 1500 video tutorials on a range of topics including Laravel, modern PHP, unit testing, and JavaScript. Boost your skills by digging into our comprehensive video library.

Laravel Sponsors

We would like to extend our thanks to the following sponsors for funding Laravel development. If you are interested in becoming a sponsor, please visit the Laravel Patreon page.

Premium Partners

Contributing

Thank you for considering contributing to the Laravel framework! The contribution guide can be found in the Laravel documentation.

Code of Conduct

In order to ensure that the Laravel community is welcoming to all, please review and abide by the Code of Conduct.

Security Vulnerabilities

If you discover a security vulnerability within Laravel, please send an e-mail to Taylor Otwell via taylor@laravel.com. All security vulnerabilities will be promptly addressed.

License

The Laravel framework is open-sourced software licensed under the MIT license.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages