Skip to content

Revprm/FP-PBKK

Repository files navigation

FP PBKK

Name NRP
Haikal Athallarik 5025221232
Revy Pramana 5025221252

Overview

In this project, We developed an Web application using Laravel that implements CRUD (Create, Read, Update, Delete) features. CRUD is applied to the Products section, where each user can:

  • View other users products in the information page
  • Add, delete, and update their own products.
  • Users only have access to modify their own products and cannot modify other users products. This application ensures structured access rights and management of products based on ownership.

How to Build and Run

Install dependencies:

composer install
npm install

Setting up the .env:

  • Copy the .env.example to another file with the name .env
  • Generate the .env key using php artisan key:generate

Set up the database:

Because we're using PostgreSQL, we need to make sure we already configure the extension for PostgreSQL in the php.ini file

Search inside the php.ini file and remove the semicolon

image

After that, configure the .env file for the PostgreSQL database

DB_CONNECTION=pgsql
DB_HOST=127.0.0.1
DB_PORT=5432
DB_DATABASE=fp_pbkk
DB_USERNAME=postgres
DB_PASSWORD=<password for username postgres>

Before migrating, make sure to make the database fp_pbkk first in PostgreSQL so we can migrate the database directly with no error

After that, we can run the command below inside the terminal

php artisan migrate:fresh --seed

Run

After migrating the database, We can view the result of the project by running these commands:

php artisan serve

Results

Home Page

image

Sign in Page

image

Sign up Page

image

Information Page

image

Details Page

image

Dashboard Page

image

Add Product Page

image

Update Product

image

Delete Product

image

Link Youtube

Presentation Video

About

Simple Product Review Website using Laravel and TailwindCSS

Resources

Stars

Watchers

Forks

Contributors 2

  •  
  •