Coder Social home page Coder Social logo

store-server's People

Contributors

hai-27 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

store-server's Issues

Only support MySQL 5.x

This version only supports MySQL5.x, does not support MySQL 8.x. It will cause errors if using MySQL8.x, since MySQL8.x does not support DESC in sql query.

linux部署的一点小bug

./app/middleware目录下的RewriteUrl.js文件名跟app.js里对应语句所指的文件路径不对应。

// 为静态资源请求重写url
const rewriteUrl = require('./app/middleware/rewriteUrl');
app.use(rewriteUrl);

搞了半天,一直在报找不到模块的错,文件名大小写的问题

ddd

路由汇总可以直接fs读取routes

Detail页面有Bug

Details.vue这个页面中的商品轮播图和商品信息不能同时显示出来,不知道该如何解决
image

关于代码的一点问题

/**
   * 校验用户信息是否符合规则
   * @param {Object} ctx
   * @param {string} userName
   * @param {string} password
   * @return: 
   * 
   */

小白我想问一下代码中这种风格是用了什么插件或者是什么语法之类的吗?

3000端口notfound

在所有依赖完成后,node app.js 显示notfound
请问怎么解决呀

安装后运行不出结果

  1. 首先你的本地需要有node.js执行环境、npm和Mysql数据库。
    clone项目到本地。

  2. MySQL建库建表,根目录的storeDB.sql有建库建表sql语句。根据本地数据库连接的相关设置修改根目录config.js中关于数据库连接的配置。
    自行插入数据到数据库,根目录的analogDataSql.sql有虚拟数据插入语句。

  3. 进入项目目录(cd store-server)。
    安装依赖(npm install)。
    -- npm install -g @vue/cli
    -- npm install vue-router
    -- npm i koa
    -- npm i koa2
    npm i -g nodemon
    (从package.json中验证了各个依赖的版本,在node_modules目录中验证这些依赖已经存在)

  4. 运行项目node app.js。
    或:nodemon app.js

  5. 从浏览器中输入:
    htt://127.0.0.1:3000

不知道为什么页面是Not Found, 这个过程有什么问题么?谢谢!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.