Skip to content

CMS and backend of Shayna App using Laravel, that help the online shop Admin to manage their products. This app provide API for the front-end app, with API documentation link in the end of the readme

Notifications You must be signed in to change notification settings

faizaaulia/shayna-api

Repository files navigation

Shayna API

CMS and back-end of Shayna App using Laravel, that help the online shop Admin to manage their products. This app provide API for the front-end app, with API documentation link in the end of this readme.

Project Setup

  1. Clone this repository git clone https://github.com/faizaaulia/shayna-api.git or download the zipped source code
  2. Move into the project directory
    cd shayna-api
  3. Install composer dependencies
    composer install
  4. Set the .env file
    cp .env.example .env
  5. Generate an app encryption key
    php artisan key:generate
  6. Create an empty database for our application
  7. Add database information in .env file
    Fill in the DB_HOST, DB_PORT, DB_DATABASE, DB_USERNAME, and DB_PASSWORD options to match the credentials of the database you just created
  8. Migrate the database
    php artisan migrate
  9. Database seeding
    This will seed the database with dummy (admin user) data for login
    php artisan db:seed
  10. Make symbolic link to make files in the storage accessible from the web
    php artisan storage:link

Screenshots

Dashboard Page

dashboard

Add Product Page

add-product

Edit Product Page

edit-product

Add Product's Photo

add-photo

Products' Photo

gallery

Products Page

products

Transactions Page

transactions

Currently there is no payment gateway. So admin have to check the transactions manually, whether the customer has paid the order or not. In the next development it can be added with payment gateway and mail notification, so when the order has paid then admin can process the order immediatly and notify the customer via email.

API Documentation

Postman API documentation

About

CMS and backend of Shayna App using Laravel, that help the online shop Admin to manage their products. This app provide API for the front-end app, with API documentation link in the end of the readme

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages