Skip to content

tamlq97/tsport_api

 
 

Repository files navigation

#Prerequisite Installed

Install

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.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • PHP 99.7%
  • Other 0.3%