Skip to content

tamlq97/tsport

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 

Repository files navigation

#Prerequisite Installed

Install

Open Terminal on Linux and run:

git clone https://github.com/LQTam/ttcn_laravel_vue.git

Server

This is the server backend Laravel provide API for Frontend is VueJS to call.

cd ttcn_laravel_vue/client_serverTTCN1
cp .env.example .env

Open .env file and update these variables to fit to you.

DB_HOST=127.0.0.1
DB_PORT=3306
DB_DATABASE=ecommerce_db
DB_USERNAME=root
DB_PASSWORD=

Add your mailtrap info to testing mail

MAIL_MAILER=smtp
MAIL_HOST=mailhog
MAIL_PORT=1025
MAIL_USERNAME=null
MAIL_PASSWORD=null
MAIL_ENCRYPTION=null
MAIL_FROM_ADDRESS=null

And Run

composer install
php artisan key:generate
php artisan jwt:secret
php artisan storage:link

Import tsport.sql file to your database. After that run php artisan serve

Run php artisan queue:work if you want to check mail after ordered.

Frontend

This is the Frontend Written by VueJS connect to Laravel API.

cd ttcn_laravel_vue/vuetify
yarn
yarn serve

Test Account

Customer Account: customer@gmail.com/customer@gmail.com

Admin Account: /admin

admin@gmail.com/admin@gmail.com

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • PHP 89.0%
  • Vue 5.8%
  • PureBasic 3.5%
  • JavaScript 1.0%
  • Blade 0.3%
  • HTML 0.3%
  • Other 0.1%