承接 nazmussakib44/laravel-vue-starter-kit 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

nazmussakib44/laravel-vue-starter-kit

Composer 安装命令:

composer create-project nazmussakib44/laravel-vue-starter-kit

包简介

A Laravel back-end & Vue front-end starter kit with registration, login, authentication & logout (laravel/sanctum, Vue router, Vuex, Axios & Interceptor )

README 文档

README

A Laravel back-end & Vue front-end starter kit with registration, login, authentication & logout (laravel/sanctum, Vue router, Vuex, Axios & Interceptor )

Requirements

  • Node JS - version 14+
  • PHP - version 7+
  • Laravel - version 8+

Installation

Clone the repository: (You may use ssh or github cli)

https://github.com/nazmussakib44/laravel-vue-starter-kit.git

For Back-end

Go to starter backend folder and edit .env file to connect your database.

You may find env.example file just rename it to .env file and connect your database.

cd starter-backend

Open .env file and edit

DB_CONNECTION=mysql
DB_HOST=127.0.0.1
DB_PORT=3306
DB_DATABASE=starter // add your database name
DB_USERNAME=root // your username
DB_PASSWORD=root //your password

Install composer

composer install

Run backend

php artisan serve

You should see the running url like - Server running

For Front-end

Go to frontend folder

cd starter-frontend
npm install --legacy-peer-deps

Open config.js file and change apiUrl based on your environment

const env = 'dev'; //change it to const env  = 'prod'; for build and run command npm run build

const dev = {
    apiUrl: 'http://127.0.0.1:8000', //for development environment
    env: env
};

const prod = {
    apiUrl: 'https://cloud.net.au', //for production environment
    env: env
};

const config = {
    dev,
    prod
};

module.exports = config[env];

Run the front-end

npm run serve

!!!And you are ready to go!!!

License

MIT

统计信息

  • 总下载量: 8
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 0
  • 点击次数: 2
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 0
  • Watchers: 1
  • Forks: 1
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2023-02-13

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固