Simple Online Store Website Built With Laravel
Simple online store website built with laravel. The purpose of this projects is for fulfill the final project of web programming. This was our first production app, so it contains a lot of inefficient algorithms such as repeating the code, also we messed up with conventional commits messages.
Beside Laravel, this project uses other tools like:
- Jetstrap (Jetstream+Bootstrap)
- Bootstrap 4
- Font Awesome
- Stisla Admin Template
- kavist/rajaongkir
- Intervention/image
- Scyllaly/hcaptcha
This project is inspired from fikrisuheri/laravel-toko-online
- Integration with RajaOngkir
- Integration with BinderByte shipping tracker api
- Composer
- Node.js
- PHP 7.3 or later (with enabled gd library)
- MySQL 5.7 or later
git clone https://github.com/akbarhmu/laravel-online-shop.git
cd laravel-online-shop
cp .env.example .env
Open .env
, change DB_DATABASE
according to your needs, then create a database with that name.
DB_CONNECTION=mysql
DB_HOST=127.0.0.1
DB_PORT=3306
DB_DATABASE=electroparadizo
DB_USERNAME=root
DB_PASSWORD=
Change RAJAONGKIR_API_KEY
with apikey that you can obtain them from here. Make sure RAJAONGKIR_PACKAGE is starter, because we didn't support PRO package at the moment. This API is used for calculating the shipping cost.
RAJAONGKIR_API_KEY=
RAJAONGKIR_PACKAGE=starter
Change BINDERBYTE_API_KEY
with apikey that you can obtain them from here, this used for shipping tracking.
BINDERBYTE_API_KEY=
Change HCAPTCHA
secret and sitekey, you can obtain them from here. This used for captcha validation at service menu.
HCAPTCHA_SECRET=
HCAPTCHA_SITEKEY=
Install required dependency and rebuild asset :
composer install
npm install
npm run dev
Generate application key :
php artisan key:generate
Run the migrations with the seeds, this need internet connection :
php artisan migrate:fresh --seed
Create storage symbolic link :
php artisan storage:link
php artisan serve
Open http://localhost:8000 in browser, use email [email protected]
and password admin
to login.
Laravel Online Shop
is licensed under The MIT license (MIT).