All Projects → jackhutu → Jackblog Api Express

jackhutu / Jackblog Api Express

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

Programming Languages

javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to Jackblog Api Express

Nodepress
😎 RESTful API service for Blog/CMS, powered by @nestjs
Stars: ✭ 829 (+104.69%)
Mutual labels:  restful, express
Koa2 Api Scaffold
一个基于Koa2的轻量级RESTful API Server脚手架。
Stars: ✭ 694 (+71.36%)
Mutual labels:  restful, express
Node Express Mongoose Passport Jwt Rest Api Auth
Node, express, mongoose, passport and JWT REST API authentication example
Stars: ✭ 146 (-63.95%)
Mutual labels:  restful, express
Nodeapi
Simple RESTful API implementation on Node.js + MongoDB.
Stars: ✭ 719 (+77.53%)
Mutual labels:  restful, express
Es6 Express Mongoose Passport Rest Api
Lightweight boilerplate for Node RESTful API, ES6, Express, Mongoose and Passport 🎁
Stars: ✭ 36 (-91.11%)
Mutual labels:  restful, express
Flowa
🔥Service level control flow for Node.js
Stars: ✭ 66 (-83.7%)
Mutual labels:  restful, express
Node Express Postgresql Sequelize
Node.js, Express.js, Sequelize.js and PostgreSQL RESTful API
Stars: ✭ 148 (-63.46%)
Mutual labels:  restful, express
Go Api Boilerplate
Go Server/API boilerplate using best practices DDD CQRS ES gRPC
Stars: ✭ 373 (-7.9%)
Mutual labels:  restful
Express Rest Api Boilerplate
Express REST API with JWT Authentication and support for sqlite, mysql, and postgresql
Stars: ✭ 384 (-5.19%)
Mutual labels:  express
Nodejs Api Boilerplate
A boilerplate for kickstart your nodejs api project with JWT Auth and some new Techs :)
Stars: ✭ 364 (-10.12%)
Mutual labels:  express
Example Create React App Express
Example on using create-react-app with a Node Express Backend
Stars: ✭ 361 (-10.86%)
Mutual labels:  express
Judo Heroes
A React application to showcase rendering with Universal JavaScript
Stars: ✭ 373 (-7.9%)
Mutual labels:  express
Highdsa
2018年本科毕设项目,已更新所有开发和部署文档。基于Dubbo、SSM、Shiro、ELK、ActiveMQ、Redis等实现的一套高可用、高性能、高可扩展的分布式系统架构,实现可支持业务的基础公共服务,API使用Restful风格对外暴露。已经实现的包括:发送邮件服务、FastDFS文件存储服务、ELK实时日志查询服务、Redis缓存服务、Mybatis数据库、阿里短信推送、Goeasy消息推送、Druid监控、ActiveMQ消息队列、shiro权限认证、cas单点登录、权限配置web系统、移动端后台系统。持续更新中......
Stars: ✭ 385 (-4.94%)
Mutual labels:  restful
Node Tutorial
☺️Some of the node tutorial -《Node学习笔记》
Stars: ✭ 364 (-10.12%)
Mutual labels:  express
Protect
Proactively protect your Node.js web services
Stars: ✭ 394 (-2.72%)
Mutual labels:  express
Blog Node
基于 node + express + mongodb 的博客网站后台
Stars: ✭ 364 (-10.12%)
Mutual labels:  express
Spruce
A social networking platform made using Node.js and MongoDB
Stars: ✭ 399 (-1.48%)
Mutual labels:  express
Stackoverflow Clone
This project is a simplified a full stack clone of Stackoverflow.
Stars: ✭ 395 (-2.47%)
Mutual labels:  express
Nohttp
🍋 Android实现Http标准协议框架,支持多种缓存模式,底层可动态切换OkHttp、URLConnection。
Stars: ✭ 3,714 (+817.04%)
Mutual labels:  restful
Strimpack
A platform for livestreamers to make a home for their audience.
Stars: ✭ 378 (-6.67%)
Mutual labels:  express

jackblog api express版

build status Coverage Status Dependency Status devDependency Status

简介

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

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

环境准备

node.js 4.0+
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-express.git
$ cd jackblog-api-express
$ npm install
$ gulp serve

windows 用户注意事项

经亲测windows上开发没有任何问题, 测试环境如下:

  • windows 7 64位
  • mongodb 3.2.6
  • redis 2.8.24
  • Python 2.7
  • Microsoft Visual Studio C++ 2013

1, node-gyp
一定要全局安装好node-gyp, npm i -g node-gyp
这个库依赖python 2.7, vs2013. c++编译环境一定要配置好, 不然很多包都装不了.

2, redis
redis for windows 只支持64位的操作系统

线上布署

$ pm2 start process.json

使用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

测试

$ gulp test

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

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