You are on page 1of 2

web.php -> locates at routes/web.

php => it contains the navigating links from views


to controller and vice-verse

controllers -> locates at app\http\controller => it contains the methods to


perform some actions.

view -> locates at resources\views\ => it contains frontend blade code ( html
codes )

models -> locates at app\mode1.php or app\Models\model.php => it describes the


database table

website -> three users => admin, author, user

Technologies:
--------------------------------

1. laravel framework

2. Frontend: Bootstrap,html5,css3

3. Server Language : PHP (object-oriented language) not a scripting language

4. backend : mysql (elquoent queries) -> object orient queries

5. support library: composer

6. Server: Xampp,[Wampp, Mampp] -> we require one server to run web application,
one server to store our web application data, ftp,..etc

how to build our project:


----------------------------------

1. install xampp

2. install composer

3. create laravel project using composer

4. update database details in laravel project (.env)

5. run the project. (Implementation our code )

PAYMENT GATEWAY
------------------------------

Stripe payment integration - card


Important concepts in application
-------------------------------------

/login -> view( front page) -> it locates at


resources/views/auth/login.blade.php
-> controller( action page) -> it locates at app\Http\Controllers\Auth\
LoginController.php

/register -> view( front page) -> it locates at


resources/views/auth/register.blade.php
-> controller( action page) -> it locates at app\Http\Controllers\Auth\
RegisterController.php

why type of encryption or hashing are using?


bcrypt library to perform hashing to our data ( eg: password hashing)

How we are differentiating users?


by using roles (Mapping)

Authentication?

by using middleware

middleware checking
---------------------------

for admin -> app/Http/middleware

cart functionality:
---------------------------------------------

package: bumbummen99/shoppingcart

You might also like