Code Monkey home page Code Monkey logo

woocommerce's Introduction

WooCommerce Website

This is my PHP/Laravel internship final project. In this project I implemented a full woocommerce website with PHP, MySQL and Blade.

Website Demo



Project requirements and tools

  • Laravel 8
  • PHP 7
  • MySQL 5
  • Redis
  • HTML 5
  • CSS 3
  • Bootstrap 5
  • Javascript
  • Blade

Website Structure

  • WooComers website
  • Full access Admin panel
  • Notification panel
  • User panel

In this project I used software engineering tools to make a laravel website. Some of the project features are:

  • Storage management
  • Notifications
  • Emails and SMS
  • Rest APIs

By using the MVC architecture, I used the Eloquent models and Resource Controllers to create my routes and models. And for the view parts I used the simple Blade templating.

Project Tech Features

  • Eloquent models
  • Authentication
  • Gate and Policy
  • Resource Controllers
  • Middlewares
  • Service Providers
  • Enums
  • Jobs and Queue
  • Observers
  • Blade Components
  • Exceptions
  • Files and Storage
  • API
  • Resource and Collections
  • View routes
  • Resource routes
  • Form requests
  • Seeder and Factory
  • SQL Migrations
  • Js Axios
  • jQuery
  • DOM

How to run project

First clone into the repository:

git clone https://github.com/amirhnajafiz/Online-Shop.git

Then go into the root directory of the project:

cd app

Now reload the composer:

composer dump

Now create the database and set .env file based on your information and system. Now run the database migrations:

php artisan migrate --seed --step

Ok now we need to set up the font-end:

npm i & npm run dev

After that enter the following command to start the server:

php artisan serve

If you get something like this, then you are good to go:

Starting Laravel development server: http://127.0.0.1:8000
[Wed Oct 27 20:53:24 2021] PHP 8.0.7 Development Server (http://127.0.0.1:8000) started

Special Tanks

  • Special thanks to M54 Bootcamp.
  • And my dear master, Mr.Ehsan Kashfi.
  • Also special thanks to my lovely mentor Mr.Omid KheirAbadi.

Date

Amirhossein Najafizadeh, 27th October 2021

woocommerce's People

Contributors

amirhnajafiz avatar

Stargazers

Lloric Mayuga Garcia avatar Hidjrah Saputra avatar Yaser Askarizadeh avatar Alireza Nejadipour avatar Armin Gh avatar Alireza Zare avatar Lance Curry avatar  avatar Fawwash avatar Younes Nikbin avatar Alireza Jafartash avatar Sajjad Ranjbar avatar Sajjad Shahrabi avatar Mohammad Mahdi Taheri  avatar

Watchers

 avatar

woocommerce's Issues

What is that?

Hello
Can you please let me know what is that code doing? xD
Is it creating a new woocommerce website but uses Laravel? And how is that happening?
Thanks a lot for sharing.

Main controllers problem

Our main controllers are not standard and correct.
Please fix and refactor them, and use resources and jobs in your controllers.
Also, create a better folder and files management.

Code Duplicate in controllers

You have a bunch of duplications in your controllers. Use traits and methods to fix this issue.
Also, find a way to use your own APIs in your system.

API routes needs refactor

Our API routes are not standard.
Fix them and refactor them, after that use them in other project parts.
Also, you need to implement more controllers for your APIs.

refactor

Cleanup the repository files and folders.
Manage the readme.md

Channel missing

Use channels to send notifications in your controllers and models creation.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.