- cd .\frontend\
npm install or npm i
- Update
env.production
andenv.development
with IP Address of your Backend server
VUE_APP_MODE=production
VUE_APP_API_URL=http://localhost:8000/api
VUE_APP_MODE=development
VUE_APP_API_URL=http://localhost:8000/api
npm run serve
(Normal Vue JS)
- cd .\backend\
composer install or composer i
- copy
.env.example
file to the.env
file
DB_DATABASE= YOUR_DB_NAME
DB_USERNAME= root
php artisan migrate
php artisan db:seed
MAIL_DRIVER=smtp
MAIL_HOST=smtp.googlemail.com
MAIL_PORT=587
MAIL_USERNAME=you@gmail.com
MAIL_PASSWORD=sadanfsnskadf
MAIL_ENCRYPTION=ssl
MAIL_FROM_ADDRESS=you@gmail.com
MAIL_FROM_NAME=PNCAA
php artisan key:generate
- If you are in local development environments
php artisan serve
--port=YOUR_PORT (port is optional)
- If you are in production environments
http:://YOUR_IP_ADDRESS:YOUR_PORT
http://127.0.0.1:8000