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.
- Clone this repository
git clone https://github.com/faizaaulia/shayna-api.git
or download the zipped source code - Move into the project directory
cd shayna-api
- Install composer dependencies
composer install
- Set the .env file
cp .env.example .env
- Generate an app encryption key
php artisan key:generate
- Create an empty database for our application
- Add database information in .env file
Fill in theDB_HOST
,DB_PORT
,DB_DATABASE
,DB_USERNAME
, andDB_PASSWORD
options to match the credentials of the database you just created - Migrate the database
php artisan migrate
- Database seeding
This will seed the database with dummy (admin user) data for login
php artisan db:seed
- Make symbolic link to make files in the storage accessible from the web
php artisan storage:link
Dashboard Page
Add Product Page
Edit Product Page
Add Product's Photo
Products' Photo
Products Page
Transactions Page
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.