All Projects → jackhutu → Jackblog Api Koa

jackhutu / Jackblog Api Koa

Licence: mit
Jackblog API Server Koa 版, 个人博客系统, 基于RESTful架构, 使用Node.js, Koa, MongoDB, Redis, Token Auth, 七牛云存储等.

Projects that are alternatives of or similar to Jackblog Api Koa

Koa Rest Api Boilerplate
💯 Boilerplate for Node.js Koa RESTful API application with Docker, Swagger, Jest, CodeCov and CircleCI
Stars: ✭ 420 (+34.62%)
Mutual labels:  restful, koa
Nodepress
😎 RESTful API service for Blog/CMS, powered by @nestjs
Stars: ✭ 829 (+165.71%)
Mutual labels:  restful, mongodb
Actframework
An easy to use Java MVC server stack
Stars: ✭ 690 (+121.15%)
Mutual labels:  restful, mongodb
Blog Service
blog service @nestjs
Stars: ✭ 188 (-39.74%)
Mutual labels:  mongodb, koa
Node Typescript Mongodb
node js typescript mongodb express generator yo
Stars: ✭ 96 (-69.23%)
Mutual labels:  restful, mongodb
Nobibi
一款基于Next.js+mongo的轻量级开源社区(open community by Next.js & mongo)
Stars: ✭ 209 (-33.01%)
Mutual labels:  mongodb, koa
Nodeapi
Simple RESTful API implementation on Node.js + MongoDB.
Stars: ✭ 719 (+130.45%)
Mutual labels:  restful, mongodb
Koa Vue Fullstack
A lightweight boilerplate for a universal webapp based on koa, mongodb, node, vue, and webpack
Stars: ✭ 126 (-59.62%)
Mutual labels:  mongodb, koa
Eve Building Restful Mongodb Backed Apis Course
Course materials and handouts for EVE: Building RESTful MongoDB-backed APIs course
Stars: ✭ 53 (-83.01%)
Mutual labels:  restful, mongodb
Got Auth Service
A professional role-based-authorization(also supports resource and group) service with restful and graphql api for enterprise applications.
Stars: ✭ 12 (-96.15%)
Mutual labels:  restful, koa
Lad
👦 Lad is the best Node.js framework. Made by a former Express TC and Koa team member.
Stars: ✭ 2,112 (+576.92%)
Mutual labels:  mongodb, koa
Eddi
Scalable Open Source Chatbot Platform. Build multiple Chatbots with NLP, Behavior Rules, API Connector, Templating. Developed in Java, provided with Docker, orchestrated with Kubernetes or Openshift.
Stars: ✭ 171 (-45.19%)
Mutual labels:  restful, mongodb
Putongoj
Putong Online Judge -- An online judge with nothing special
Stars: ✭ 157 (-49.68%)
Mutual labels:  mongodb, koa
Graphql Demo
🎉Koa + GraphQL + Apollo-Server demo
Stars: ✭ 215 (-31.09%)
Mutual labels:  mongodb, koa
Last Blog
仿GitHub风格个人博客, vue+vuex+koa+mongodb
Stars: ✭ 128 (-58.97%)
Mutual labels:  mongodb, koa
Koa2 Api Scaffold
一个基于Koa2的轻量级RESTful API Server脚手架。
Stars: ✭ 694 (+122.44%)
Mutual labels:  restful, koa
Fontend
使用Node、Vue、ElementUI、iViewUI,验证码等等搭建一个综合性网站(含后台管理系统)
Stars: ✭ 97 (-68.91%)
Mutual labels:  mongodb, koa
Vue Family Bucket Ssr Koa2 Full Stack Development From Meituan
🚀🚀2020最新Vue全家桶+SSR+Koa2全栈开发☁
Stars: ✭ 100 (-67.95%)
Mutual labels:  mongodb, koa
X Restful Api Generator Koa
一个基于 Koa 的 RESTful API 服务脚手架。 A RESTful API generator for Koa
Stars: ✭ 18 (-94.23%)
Mutual labels:  restful, koa
Koa Restful Boilerplate
Koa 2 RESTful API boilerplate
Stars: ✭ 146 (-53.21%)
Mutual labels:  restful, mongodb

jackblog api koa版

build status Coverage Status Dependency Status devDependency Status

此为2.2版,基于koa2.2.x

简介

Jackblog 是使用 Node.js + MongoDB + Redis + 其它客户端框架开发的个人博客系统,前后端分离,仿简书模板.
服务端有: express 版 , koa 版
客户端有: angular1.x 版 , angular2.x 版 , react redux 版 , vue 版
移动端有: react native 版, ionic2.0 版

此为服务端koa版, 为客户端提供api.

环境准备

node.js 7.6+
mognodb 3.0+
redis 2.8+

配置

  • 配置文件路径: ./server/config/env, 可将私有配置放入./server/config/env/private 下.
  • 七牛云存储配置
  qiniu:{
    app_key:"app_key",
    app_secret:"app_secret",
    domain:"domain",          //七牛配置域名
    bucket:"bucket"           //七牛空间名称  
  },

开发

$ git clone [email protected]:jackhutu/jackblog-api-koa.git
$ cd jackblog-api-koa
$ npm install
$ npm run serve

使用docker容器部署所需的要环境变量

MONGO_PORT_27017_TCP_ADDR
MONGO_USERNAME
MONGO_PASSWORD
REDIS_PORT_6379_TCP_ADDR
REDIS_PORT_6379_TCP_PORT
REDIS_PASSWORD
QINIU_APP_KEY
QINIU_APP_SECRET
QINIU_APP_DOMAIN
QINIU_APP_BUCKET
GITHUB_CLIENT_ID
GITHUB_CLIENT_SECRET
GITHUB_CALLBACK_URL
WEIBO_CLIENT_ID
WEIBO_CLIENT_SECRET
WEIBO_CALLBACK_URL
QQ_CLIENT_ID
QQ_CLIENT_SECRET
QQ_CALLBACK_URL
INITDATA

测试

$ npm test

配合客户端测试的测试模式

$ npm run serve:test

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