Skip to content

slashhuang/pure-node-notebook

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

pure-node-notebook

项目代码要求

纯Node 6.10.0支持的代码,不依赖于babel

依赖于任何第三方框架,纯手写Node框架及中间件

所有语法都在Node.green下的支持列表

运行代码

	git clone https://github.com/slashhuang/pure-node-notebook.git
	npm install 
	npm start

课件代码

  1. 第一课: 创建一个简单的服务器

知识点: http请求。 ES6语法。 端口号。 commonJS模块体系。

	git checkout lesson-1

效果展示

  1. 第二课: 创建静态资源html、js返回

知识点: fs模块。 http请求对象分析。

	git checkout lesson-2

效果展示

  1. 第三-五课: 学习Promise来架构网站中间件

知识点: Promise。 程序设计模式 。 http请求对象分析

	git checkout lesson-3-5

效果展示

  1. 第六-10课: 使用webpack架构前端、采用mongodb作为数据库

知识点: Promise、设计模式、mongodb、webpack

	git checkout lesson5-10

效果展示

项目依赖

About

A raw Node.js application without any 3rd party framework to create online notebook

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published