GithubHelp home page GithubHelp logo

laracommerce_with_admin's Introduction

LaraCommerce REST API

REST API for E-Commerce platform with admin panel integration.

GitHub Workflow Status


| Admin Panel Features | Requirements | Install | How to setting | API Docs | License |

Admin Panel Features

  • Preview
  • Menu

    Description
    Users Create employee and manage all users.
    Orders Manage the orders.
    Finances Manage the finances.
    Withdraw Manage the merchant's withdraw request.
    Bankings Create and manage available banking for merchant.
    Categories Create and manage available category for merchant's products.
    Profile Edit user's profile and password.

Requirements

PHP = ^8.1.x
laravel = ^9.x
kavist/rajaongkir = ^1.x
midtrans/midtrans-php = ^2.x
laravel/scout = ^9.x
filament/filament = ^2.x
beyondcode/laravel-websockets = ^1.x
pusher/pusher-php-server = ^7.x
flowframe/laravel-trend = ^0.1.x
barryvdh/laravel-debugbar = ^3.x
laravel-echo = ^1.15.x
pusher-js = ^8.x

Install

Clone repo

git clone https://github.com/muhammadhabibfery/laracommerce-api.git

Install Composer

Download Composer

composer update/install

composer install

Install Nodejs

Download Node.js

NPM dependencies

npm install

Run Vite

npm run dev

How to setting

Go into .env file change Database and Email credentials. Then setup some configuration with your own credentials

PUSHER_APP_ID=justRandomString
PUSHER_APP_KEY=justRandomString
PUSHER_APP_SECRET=justRandomString
PUSHER_HOST=127.0.0.1
PUSHER_PORT=6001
PUSHER_SCHEME=https|http   (Just choose one)
PUSHER_APP_CLUSTER=mt1

RAJAONGKIR_API_KEY=<Your-API-Key>

MIDTRANS_SERVER_KEY = <Your-Server-Key>
MIDTRANS_PRODUCTION = false
MIDTRANS_SANITIZED = true
MIDTRANS_3DS = true|false   (Just choose one)

<!-- If you are using algolia, change the scout_driver and setting your own algolia credentials -->
SCOUT_DRIVER=database

<!-- If you are using laravel valet and https protocol, add your valet path below -->
LARAVEL_WEBSOCKETS_SSL_LOCAL_CERT='/Users/YOUR-USERNAME/.config/valet/Certificates/VALET-SITE.TLD.crt'
LARAVEL_WEBSOCKETS_SSL_LOCAL_PK='/Users/YOUR-USERNAME/.config/valet/Certificates/VALET-SITE.TLD.key'
LARAVEL_WEBSOCKETS_SSL_PASSPHRASE=''

Run the migration

php artisan migrate

Or run the migration with seeder if you want seeding the related data

php artisan migrate --seed

Generate a New Application Key

php artisan key:generate

Create a symbolic link

php artisan storage:link

API Docs

Preview


Complete REST API Documentation can be found here

License

Copyright (C) 2023 Muhammad Habib Fery.
โฌ† back to top

laracommerce_with_admin's People

Contributors

psalmistcom avatar

Watchers

 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.