1 Star 0 Fork 0

陈卓/node-vue-blog

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
贡献代码
同步代码
取消
提示: 由于 Git 不支持空文件夾,创建文件夹后会生成空的 .keep 文件
Loading...
README
MIT

node-vue-blog

介绍

初学node做个demo试试

安装教程

  1. 首先必须安装node,然后项目根目录执行 npm i
  2. 安装(Navicat for MySql),我自己用的破解版
  3. 在该软件上新建你自己的数据库
  4. 修改 server/db.js 文件中的数据库配置,数据库名、密码、端口等等修改成刚刚创建数据库时填写的信息
module.exports = {
  mysql: {
    host: 'localhost',  
    user: 'cz',            // 修改成你自己的用户名
    password: '123456',    // 修改成你自己的密码
    database: 'cz',        // 修改成你自己的数据库名
    port: '3306'           // 修改成你自己的数据库端口号
  }
}
  1. 以上步骤全部完成后,在项目根目录执行 npm run serve 启动web项目,同时 打开一个新的终端 进入server文件夹 cd server 或者直接在server文件夹启动终端。然后运行node index.js 启动后端项目

参与贡献

  1. Fork 本仓库
  2. 新建 Feat_xxx 分支
  3. 提交代码
  4. 新建 Pull Request
MIT License Copyright (c) 2021 陈卓 Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

简介

初学node做个demo试试 展开 收起
README
MIT
取消

发行版

暂无发行版

贡献者

全部

近期动态

不能加载更多了
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
JavaScript
1
https://gitee.com/codeChenZ/node-vue-blog.git
git@gitee.com:codeChenZ/node-vue-blog.git
codeChenZ
node-vue-blog
node-vue-blog
master

搜索帮助