https://github.com/ronykader/leadbook
Turn Your Facebook Account Into A Lead Generation Machine
https://github.com/ronykader/leadbook
laravel rest-api vuejs
Last synced: 3 months ago
JSON representation
Turn Your Facebook Account Into A Lead Generation Machine
- Host: GitHub
- URL: https://github.com/ronykader/leadbook
- Owner: ronykader
- Created: 2020-09-29T22:24:20.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2020-09-30T11:19:00.000Z (over 5 years ago)
- Last Synced: 2025-03-22T14:44:00.041Z (over 1 year ago)
- Topics: laravel, rest-api, vuejs
- Language: PHP
- Homepage:
- Size: 252 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Leadbook
## Techonology Used
##### API - Laravel & JWT
##### Database - MySql
##### Frontend/Clients - VueJs, Vuex, Vue-Router, Axios, Toast notification, Bulma Css
## Project Setup (API)
##### 1. Need to go api directory and composer update
composer update
##### 2. Need to set Database information in .env file like:
DB_DATABASE=api_vue
DB_USERNAME=*****
DB_PASSWORD=*****
##### 3. Need to add client/frontend project's Home URL like:
FRONTEND_HOME_URL=http://leadbook.w3zones.com
##### 4. Need to add mail-server/SMTP info like:
MAIL_MAILER=smtp
MAIL_HOST=smtp.mailtrap.io
MAIL_PORT=2525
MAIL_USERNAME=****************
MAIL_PASSWORD=****************
MAIL_ENCRYPTION=tls
MAIL_FROM_ADDRESS="no-replay@leadbook.com"
##### 5. Then run php artisan config:cache like:
php artisan config:cache
##### 6. Need to run php artisan migrate command for create essentials table. like:
php artisan migrate
##### 7. For random company generated need to run php artisan db:seed command like:
php artisan db:seed
## Project Setup (Clients/Frontend)
##### 1. Need to change api base url in clients/src/main.js like:
axios.defaults.baseURL = 'http://leadbook.w3zones.com/api/api'
##### 2. Need to go Clients directory and run npm run serve or if you want build just need to npm run build like:
npm run serve
or
npm run build