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 attempts to take the pain out of development by easing common tasks used in the majority of web projects, such as:
- Simple, fast routing engine.
- Powerful dependency injection container.
- Multiple back-ends for session and cache storage.
- Expressive, intuitive database ORM.
- Database agnostic schema migrations.
- Robust background job processing.
- Real-time event broadcasting.
Laravel is accessible, yet powerful, providing tools needed for large, robust applications.
Project C is a shoolproject. I build this webshop with a team of 4 students. It is build with the Laravel framework. We used Blade as our templating engine and Jquery (ajax).
(click the image to start the video)
to run the project you have to follow the instructions listed below.
- Download the project. You can clone it or download the zip file.
- Download the zip file and extract it in htdocs folder of your local webserver. (i.e Xamp, Wamp, Mamp etc.)
- Run the following command in the htdocs folder of your local webserver:
git clone https://github.com/OguzcanKarakoc/ProjectC-Webshop.git
- Go inside the folder
- Check if you have composer and npm installed by running the following commands:
composer -V
npm -v
- install all composer and npm packages:
composer install
npm install
- start you local webserver
- Create a database: http://localhost/phpmyadmin
- setup env file:
- Rename the
.env.example
to.env
- Change the database settings:
DB_DATABASE
,DB_USERNAME
,DB_PASSWORD
- generate a application key by running:
php artisan key:generate
- Rename the
- Setup database by runnning
php artisan migrate:refresh --seed
: - Run the project:
php artisan serve
All seeded passwords of the users are: secret
To get the email you will have to look at the database table users. All data is being generated by faker except the product. Those are taken from a third party public api