GithubHelp home page GithubHelp logo

arashparsa-dev / xshop Goto Github PK

View Code? Open in Web Editor NEW

This project forked from 4xmen/xshop

0.0 0.0 0.0 90.39 MB

Very customizable and easy to use shopping system, open source project based on laravel

License: Other

JavaScript 3.76% PHP 40.72% Vue 24.29% Blade 25.84% SCSS 5.40%

xshop's Introduction

xShop logo

xShop/v2

Note

xShop is an open source shop developed in laravel, very customizable!

New Features:

  • Dashboard panel changes
  • Integration of Vue.js and laravel
  • Advanced charts
  • Better customizable with AI & languages
  • Fixed Technical issues
  • Project size compression
  • UI/UX is more specific
  • Developer Friendlier

Installation [ Development mode ]

Important

Create new database and rename .env.example to .env then update you .env configs so run this commands:

git clone https://github.com/4xmen/xshop.git
cd xshop
cp .env.example .env
composer install
php artisan migrate:fresh --seed
php artisan storage:link
php artisan key:generate
php artisan serv

# to develop front-end

npm install -g yarn
yarn install
yarn dev

Tip

Default admin email is : [email protected] (developer) or [email protected] (admin) and default password is: password

image seeding

  • Download & prepare images
php artisan seeding:prepare
  • nor copy your image folder to database/seeders/images/
  • then: Seeding image for models: [Group, Category, Post, Product, Slider]
php artisan seeding:image Product digital

First parameter is Model, Second is image seeder directory available [bag, clothe, digital, sport, posts, makeup] You can create your directory and put your image into new directory then use image seeder

Requirement

  • php 8.2.x or above [ php-gd, sqlite3, php-soap]
  • mysql or mariadb or sqlite
  • composer
  • recommends install imagemagick on server to more image performance

Deploy guide

We recommend deploy xShop on VPS, so create database and run this commands:

cd /home/[yourUsername]/[pathOfYourWebsitePublicHTML]
git clone  https://github.com/4xmen/xshop.git . # if this command not work make empty this folder
cp .env.example .env
nano .env # edit your config db, url, etc.
composer install
php artisan migrate:fresh --seed
php artisan storage:link
php key:generate
npm install 
php artisan client
npm run build

Make your site optimize & production mode

nano .env # make APP_DEBUG false, APP_ENV production
php artisan optimize
composer install --optimize-autoloader --no-dev

make xController

Controller with log and semi-automatic CURD with logs
User [model]

php artisan make:xcontroller User

make theme part

Theme part usable in area

PartName [theme aprt name]

segmentName [group, category, preloader, ...],

php artisan  make:part PartName segmentName

client optimize

Optimize client assets, scss,js,css

php artisan client

theme parts file

  • PartName.php: onCreate, onRemove, onMount actions of theme part
  • PartName.blade.php: your theme part blade code
  • PartName.scss: your theme part scss
  • PartName.js: your theme part javascript
  • screenshot.png: screenshot preview of theme part

Screenshots

1

2

3

4

5

Access to xShop/v1

Warning

xShop/v1 available here: https://github.com/4xmen/xshop.v1

Developed With Love ! ❤️

xshop's People

Contributors

a1gard avatar cyberali1989 avatar farzady avatar yasindehfuli avatar sadeghpm avatar

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.