All Projects → GoldL → island

GoldL / island

Licence: MIT license
基于Node.js Koa2开发微信小程序服务端

Programming Languages

javascript
184084 projects - #8 most used programming language

island(基于Node.js Koa2开发微信小程序服务端)


概述

项目是基于Node.js Koa2开发微信小程序服务端,来源于imooc的实战课程《纯正商业级应用 Node.js Koa2开发微信小程序服务端》,自己动手实践并加以拓展,仅供自己学习使用。 项目的大致流程是Node.js Koa2构建开发环境,分析需求,设计构思,规划目录结构,开始编程。

技术栈

  • Node.js
  • Koa2
  • Sequelize
  • requireDirectory
  • Koa-router
  • LinValidator

知识点

  • 深入JS异常处理与异步异常
  • 异步异常链与全局异常处理
  • 深入Koa中间件
  • Sequelize Scope应用
  • 理解Node.js在Web架构中的作用
  • Koa开发API
  • requireDirectory自动路由加载
  • LinValidator校验器
  • Koa开发微信小程序用户系统
  • 权限控制中间件
  • PM2部署Node.js应用

笔记

项目里note.md

效果

构建

# install dependencies
npm install

# serve with hot reload at localhost:8080
npm run dev

# build for production with minification
npm run build

# build for production and view the bundle analyzer report
npm run build --report

总结

项目难度4星,高质量的构建后端Node.js koa2的后端框架架构。共勉~

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].