Git Product home page Git Product logo

n-blog's Introduction

node的学习历程

11月30号

  • 搭架子
  • 安装mongodb
  • 学会了mongodb的简单操作
  • 初始化了一个express的项目

12月1日

  • 开始尝试写路由
  • 并学习一些路由的特性
  • 使用express.Router来控制路由
  • 使用ejs摸版引擎
  • ejs模版的include的使用

12月2日

  • 使用中间件和next
  • 学习错误处理
  • 创建目录并列出相关结构
  • 安装依赖模块

12月3日

  • 书写通用的config模块
  • 书写检测登录的模块
  • 将功能和路由书里一遍
  • 书写相关的routes
  • 修改app.js的启动文件

12月4号

  • 书写权限控制
  • 书写页面设计

12月5号

  • 学习app.locals和res.locals区别
  • app.locals和res.locals的书写
  • 连接数据库

12月6号

  • 学习mongoose
  • 尝试探究一下mongoose背后的原理

12月7号

  • mongoose入门

12月8号

  • mongoose的基本概念
  • mongoose的CRUD

__中断原因:去做了一个代码分析工具,并在学习语法树,以及慢慢在看vue和babel的源码,这边的项目也会尽量跟上,然后vue和babel的源码一个一个的都会更新在笔记里面

12月24日

  • 继续补全mongoose的CRUD

12月26日

  • 完成mongoose的crud

12月30日

  • 了解关于后端的整体架构
  • 书写model层
  • 书写controller层
  • 补全router层
  • create接口书写完毕

12月31日

  • 完成主页和文章页数据库一块
  • 完成发布文章的界面
  • 修改主路由
  • 将单篇文章的路由补全
  • 补全编辑和删除数据库一块的操作
  • 补全编辑界面

1月1日

  • 完成编辑页面和删除页面的路由

1月2号

  • 留言模型设计
  • 显示留言

1月4号

  • 留言相关的数据库操作
  • 完成留言在文章页model中的书写
  • 完成留言在文章页路由中的优化

n-blog's People

Contributors

laihuamin avatar

Stargazers

 avatar

Watchers

 avatar

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.