Skip to content

boosuro/ecom_dashboard_api

Repository files navigation

Ecom Dashboard API

JWT Auth and Swagger Documentation

Dashboard View

Dashboard

Login View

Dashboard

Products View

Dashboard

Product Variants

Dashboard

Register View

Dashboard

Users View

Dashboard

Variant Groups View

Dashboard

Swagger Documentation Views

Swagger

Swagger

Swagger

Swagger

Swagger

Developed with Laravel 9 and PHP 8.0

How to Setup

  1. Clone the repository
   git clone https://github.com/boosuro/orderspackphptest.git
  1. Switch to the repo folder
    cd orderspackphptest

3a. Install all the dependencies using composer

    npm install && npm run dev

b. Install all the dependencies using composer

    composer install
  1. Copy the example env file and make the required configuration changes in the .env file
    cp .env.example .env
  1. Generate a new application key
    php artisan key:generate
  1. Generate a new JWT authentication secret key
    php artisan jwt:generate
  1. Run the database migrations (Set the database connection in .env before migrating)
    php artisan migrate
  1. Start the local development server
    php artisan serve

You can now access the server at http://127.0.0.1:8000

TL;DR command list

git clone https://github.com/boosuro/orderspackphptest.git
cd orderspackphptest
npm install && npm run dev
composer install
cp .env.example .env
php artisan key:generate
php artisan jwt:generate

Make sure you set the correct database connection information before running the migrations

php artisan migrate
php artisan serve

Swagger API Testing

The api can now be accessed at

http://127.0.0.1:8000/api/documentation

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published