/Laracoffee

An e-commerce website for coffee shops, developed using Laravel 9 and Bootstrap CSS for a smooth and responsive online shopping experience.

Primary LanguageBladeMIT LicenseMIT

Laracoffee

Laracoffee is a web application built using the Laravel framework that allows users to browse and order coffee products online.

Table of Contents

Features

Admin

  • Authentication Page: This page allows admin to log in.
  • Dashboard Page: Admin have access to a dashboard for an overview of system activities.
  • Customer Page: Provides a list of registered customer details for admin to view.
  • Log Transaction Page: Admin can monitor transaction logs.
  • Product Page: Admin can view, add, edit, and remove product details.
  • Product Review Page: Admin can view product reviews.
  • Profile Page: Admin can edit their profile data and change passwords if needed.
  • Order Page: Admin can manage user orders, including changing order status (rejected, done, approved).
  • Order History: Admin can review the history of orders.

General User

  • Authentication and Registration Page: Users can log in or register for an account.
  • Home Page: The main landing page for users.
  • Point Page: Users can track loyalty points earned through transactions.
  • Profile Page: Users can edit their profile data and change passwords if needed.
  • Product Page: Users can purchase products, view product details, and leave product reviews (after completing the purchase).
  • Order Page: Users can view and manage their shopping cart, including editing and canceling orders.
  • Order History: Users can review their order history.

Installation

To run Laracoffee locally, follow these steps:

  1. Clone this repository:

    git clone https://github.com/snykk/Laracoffee.git
  2. Change to the project directory

    cd laracoffee
  3. Install the project dependencies

    composer install
    npm install
  4. Copy the .env.example file to .env and configure your environment variables, including your database settings and any other necessary configuration.

    copy .env.example .env
  5. Generate an application key

    php artisan key:generate
  6. Create a symbolic link for the storage directory

    php artisan storage:link
  7. Set the filesystem disk to public in the .env file

    FILESYSTEM_DISK=public
  8. Migrate the database

    php artisan migrate
  9. Seed the database with sample data (optional):

    php artisan db:seed
  10. Start the development server

    php artisan serve
  11. Access the application in your browser at http://localhost:8000

Usage

  • Visit the website and register for an account.
  • Browse the available coffee products, add them to your cart, and proceed to checkout.
  • Make a test order to see the order processing workflow.
  • Access the admin panel by log in with admin credentials (if seeded).
  • Manage products and orders through the admin panel.

Contributing

Contributions are welcome! If you'd like to contribute to this project, please follow these steps:

  1. Fork the repository.
  2. Create a new branch for your feature or bugfix: git checkout -b feature-name.
  3. Make your changes and commit them: git commit -m 'Add some feature'.
  4. Push to your fork: git push origin feature-name.
  5. Create a pull request on the original repository.

License

This project is licensed under the MIT License.

UI

Admin Page

Dashboard

"Dashboard"

Customer Lists

"Customer Lists"

Transaction Lists

"Transaction Lists"

Product Page

"Product"

Add Product

"Add Product"

Edit Product

"Edit Product"

Detail Order

"Edit Product"

History Order

"History Order"

General User

Registration Page

"Registration Page"

Authentication Page

"Authentication Page"

Home

"Home"

User Point

"User Point"

Detail Profile

"Detail Profile"

Edit Profile

"Edit Profile"

Product Page

"Product"

Product Detail

"Product Detail"

Make an Order

"Order Page"

List of Order

"List of Orders"

Upload Proof of Transfer

"Proof of Transfer"

Order Detail

"Order Detail"

Edit Order

"Edit Order"

Submit a Review

"Submit a Review"

In Summary

Feel free to explore the application and give it a try yourself. If you have any questions or encounter any issues, please don't hesitate to reach out. Your feedback is greatly appreciated. Happy exploring!!!