All Projects → AttemptWeb → koa-mongoDB

AttemptWeb / koa-mongoDB

Licence: MIT license
😊😊Koa and mongoose build services

Programming Languages

javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to koa-mongoDB

Blog Service
blog service @nestjs
Stars: ✭ 188 (+683.33%)
Mutual labels:  koa, mongoose, koa2
Vue Blog
A single-user blog built with vue2, koa2 and mongodb which supports Server-Side Rendering
Stars: ✭ 586 (+2341.67%)
Mutual labels:  yarn, mongoose, koa2
Sactive Web
🚀 A dependency injection web framework for Node.js.
Stars: ✭ 143 (+495.83%)
Mutual labels:  koa, koa2
Vue Webpack Config
Koa2、Webpack、Vue、React、Node
Stars: ✭ 151 (+529.17%)
Mutual labels:  koa, koa2
Lad
👦 Lad is the best Node.js framework. Made by a former Express TC and Koa team member.
Stars: ✭ 2,112 (+8700%)
Mutual labels:  koa, mongoose
Koalerplate
Simple Koa Boilerplate for APIs
Stars: ✭ 118 (+391.67%)
Mutual labels:  koa, koa2
Koa Proxies
a [email protected] proxy middleware
Stars: ✭ 125 (+420.83%)
Mutual labels:  koa, koa2
Github Ranking
🔍GitHub不同语言热门项目排行,Vue.js做页面展示
Stars: ✭ 160 (+566.67%)
Mutual labels:  koa, koa2
Koa Mobx React Starter
A straightforward starter for Node javascript web projects. Using Koa, MobX and ReactJS (with universal / isomorphic server rendering)
Stars: ✭ 102 (+325%)
Mutual labels:  koa, koa2
Egg Core
A core Pluggable framework based on koa.
Stars: ✭ 194 (+708.33%)
Mutual labels:  koa, koa2
Cool Admin Api
cool-admin-api 是基于egg.js、typeorm、jwt等封装的api开发脚手架、快速开发api接口
Stars: ✭ 188 (+683.33%)
Mutual labels:  koa, koa2
Nobibi
一款基于Next.js+mongo的轻量级开源社区(open community by Next.js & mongo)
Stars: ✭ 209 (+770.83%)
Mutual labels:  koa, mongoose
Postgraphile
GraphQL is a new way of communicating with your server. It eliminates the problems of over- and under-fetching, incorporates strong data types, has built-in introspection, documentation and deprecation capabilities, and is implemented in many programming languages. This all leads to gloriously low-latency user experiences, better developer experiences, and much increased productivity. Because of all this, GraphQL is typically used as a replacement for (or companion to) RESTful API services.
Stars: ✭ 10,967 (+45595.83%)
Mutual labels:  koa, koa2
Strapi
🚀 Open source Node.js Headless CMS to easily build customisable APIs
Stars: ✭ 41,786 (+174008.33%)
Mutual labels:  koa, koa2
Koa Vue Fullstack
A lightweight boilerplate for a universal webapp based on koa, mongodb, node, vue, and webpack
Stars: ✭ 126 (+425%)
Mutual labels:  koa, mongoose
Chatroom
vue2聊天室,图灵机器人,node爬虫
Stars: ✭ 103 (+329.17%)
Mutual labels:  koa, koa2
Koa Hbs
Handlebars templates for Koa.js
Stars: ✭ 156 (+550%)
Mutual labels:  koa, koa2
Vue Family Bucket Ssr Koa2 Full Stack Development From Meituan
🚀🚀2020最新Vue全家桶+SSR+Koa2全栈开发☁
Stars: ✭ 100 (+316.67%)
Mutual labels:  koa, mongoose
Koa Sslify
Enforce HTTPS in node.js koa apps
Stars: ✭ 100 (+316.67%)
Mutual labels:  koa, koa2
Koa Webpack Middleware
webpack dev&hot middleware for koa2
Stars: ✭ 215 (+795.83%)
Mutual labels:  koa, koa2

koa2

Build Status node yarn MIT

koa2框架,mongodb作为数据库,Es6/7语法编写,babel编译ES语法。


增加ts语法支持,进行ing

前后端分离,后台管理系统, Koa后端

系统目前包含 文章发布管理系统、标签系统、评论系统、用户系统,四大模块

技术栈

使用koa+mongoose 开发;

  • 使用koa2.0作为开发框架
  • mongoose作为数据库,保存数据
  • 使用jwt进行token的生成和校验
  • 通过Es6语法进行项目编写
  • 文件结构采用MC拆分
  • babel-register编译Es6/7/8
  • esLint语法规则

server下为目录结构:

.
|——server
|  |—— config                     全局配置
|  |—— constant                   常量
|  |   |—— index.js               暴露全部常量
|  |   └── user.js                用户常量
|  |—— controller                 对应路由的逻辑处理
|  |   |—— article.js             文章 控制器 接口
|  |   └── comment.js             评论 控制器 接口
|  |   └── tag.js                 标签 控制器 接口
|  |   └── user.js                用户 控制器 接口
|  |—— middleware                 路由中间件
|  |—— model                      mongoose数据库模型
|  |   |—— ArticleModel.js        文章模型
|  |   |—— TagModel.js            标签模型
|  |   └── UserModel.js           用户模型
|  |   └── CommentModel.js        评论模型
|  |—— mongoose                   数据库方法暴露
|  |—— public                     静态资源目录
|  |—— router                     路由文件
|  |   |—— index.js               路由
|  |   |—— api.js                 api路由
|  |   └── user.js                user路由
|  |—— utils                      公共方法
|  |—— app.js                     app入口文件

Describe

调试运行

$ yarn install 

<!-- 需要开启管理权限设置 -->
$ mongod  //开启mongoDB

$ npm run dev //本地测试服务

API接口

后端 接口文档

LICENSE

MIT

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].