GithubHelp home page GithubHelp logo

express's Introduction

前言

个人学习express的demo

技术栈

express4.X + node8.X + mysql5.X

项目运行

注意:由于涉及一些的 ES6/7 等新属性,nodejs 升级到 8.0 以上版本比较好

git clone https://github.com/duxianwei520/express.git  

cd express/myapp (进入当前的项目,这个项目是由Express 应用生成器express-generator的基础上改的)

npm install  (安装依赖包)

npm start (开启node服务程序)


说明

喜欢的别忘记了可以star一下的噢!

开发环境 win10 Chrome 58.0.3029.110  nodejs 8.7.0

如果npm install太慢导致有些npm依赖包下载失败 你可以看控制台的报错信息,再手动npm install 具体的开发包,推荐使用淘宝的注册源,直接运行,

npm install -g cnpm --registry=https://registry.npm.taobao.org 

mysql的下载的话,如果找不到合适的,可以直接看我上传到github的压缩包,地址是
https://github.com/duxianwei520/resource/blob/master/soft/mysql-5.5.43-win32.rar

如有问题请直接在 Issues 中提,或者您发现问题并有非常好的解决方案,欢迎 PR 👍

功能一览

  • [√] 路由模块按需加载
  • [√] 登录
  • [√] 注册
  • [√] session控制

License

GPL

交流

想跟其他的使用nodejs或者express的小伙伴们交流的话, 可以加入我创建的nodejs的QQ群:697562228~

express's People

Contributors

duxianwei520 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

Watchers

 avatar  avatar

express's Issues

how to start

运行npm start后没有跳出东西来,浏览器写localhost:3000也没有东西,怎么在浏览器端进行输入呢

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.