All Projects → jo0ger → node-server

jo0ger / node-server

Licence: other
(@nestjs refactoring)⚡️My personal website's api server, a RESTful application that powered by @eggjs

Programming Languages

javascript
184084 projects - #8 most used programming language
CSS
56736 projects
HTML
75241 projects
Dockerfile
14818 projects

Projects that are alternatives of or similar to node-server

Ecommerce Nodejs
Ecommerce application back-end codes
Stars: ✭ 97 (+470.59%)
Mutual labels:  mongoose, jsonwebtoken, restful-api
login push
vue+koa2+jwt实现单点登录 + todolist增删改查
Stars: ✭ 20 (+17.65%)
Mutual labels:  mongoose, jsonwebtoken, koa2
Blog Service
blog service @nestjs
Stars: ✭ 188 (+1005.88%)
Mutual labels:  mongoose, api-server, koa2
Appy Backend
A user system to bootstrap your app.
Stars: ✭ 96 (+464.71%)
Mutual labels:  mongoose, api-server, restful-api
Sinn Server
an node server for sinn,that based on of nodejs,koa2,mongoose,docker,nginx,es6/7,Resful API,阿里云 http://servertest.boyagirl.com/
Stars: ✭ 228 (+1241.18%)
Mutual labels:  mongoose, koa2, restful-api
monero-merchant
Monero Merchant is a RESTful API wrapper for the official Monero wallet RPC. This project is mainly for merchants who hope to accept Monero as payment, which is currently the most robust and privacy-oriented cryptocurrency with extremely low transaction fees.
Stars: ✭ 27 (+58.82%)
Mutual labels:  koa2, restful-api
go-pangu
rest api web server based on go(High availability, high security, high performance)
Stars: ✭ 45 (+164.71%)
Mutual labels:  api-server, restful-api
restgoose
Model-driven REST API framework using decorators
Stars: ✭ 28 (+64.71%)
Mutual labels:  mongoose, restful-api
serverless-rest-api
Building RESTful Web APIs with Firebase Cloud Function, Firestore, Express and TypeScript
Stars: ✭ 103 (+505.88%)
Mutual labels:  api-server, restful-api
Typescript Express Starter
🚀 TypeScript Express Starter
Stars: ✭ 238 (+1300%)
Mutual labels:  mongoose, jsonwebtoken
node-simple-jwt
No description or website provided.
Stars: ✭ 19 (+11.76%)
Mutual labels:  mongoose, jsonwebtoken
node-server-template
This is Node.js server tidy template / boilerplate with Express (with asyncified handlers, custom error handler) framework and MongoDb. The server use ES6 and above. On different branches you can see different techniques' and technologies' usage, such as Kafka, nodemailer, file download... You also can find postman collections.
Stars: ✭ 116 (+582.35%)
Mutual labels:  mongoose, restful-api
koa-mongoDB
😊😊Koa and mongoose build services
Stars: ✭ 24 (+41.18%)
Mutual labels:  mongoose, koa2
xiaomishop
基于nodejs web框架egg.js+mongoose实现的仿小米商城的项目
Stars: ✭ 26 (+52.94%)
Mutual labels:  mongoose, egg
dhan-gaadi
A complete online bus reservation system (Node, React, Mongo, NextJS, ReactNative)
Stars: ✭ 207 (+1117.65%)
Mutual labels:  mongoose, restful-api
Express Mongoose Es6 Rest Api
💥 A boilerplate application for building RESTful APIs Microservice in Node.js using express and mongoose in ES6 with code coverage and JsonWebToken Authentication
Stars: ✭ 2,811 (+16435.29%)
Mutual labels:  mongoose, jsonwebtoken
wine
A lightweight and flexible framework to help build elegant web API
Stars: ✭ 39 (+129.41%)
Mutual labels:  api-server, restful-api
react-nodejs-mongodb-crud
👨‍💻 Fullstack web app built with MongoDB, NodeJs, React and Redux. Features: Protected routes client/server side, MaterialUI layout
Stars: ✭ 91 (+435.29%)
Mutual labels:  mongoose, restful-api
nestjs-rest-sample
NestJS RESTful APIs Sample
Stars: ✭ 204 (+1100%)
Mutual labels:  mongoose, restful-api
reversevoice
倒放挑战 - ReverseVoice Ts Node Taro
Stars: ✭ 24 (+41.18%)
Mutual labels:  mongoose, koa2

node-server

powered by Egg.js David deps GitHub forks GitHub stars GitHub issues GitHub last commit

RESTful API server application for my blog

Quick Start

Environment Dependencies

Development

Please make sure they are configured the same as config/config.default.js

$ yarn

$ yarn dev

$ open http://localhost:7001/

Deploy

$ npm start
$ npm stop

npm scripts

  • Use npm run lint to check code style.
  • Use npm test to run unit test.
  • Use npm run autod to auto detect dependencies upgrade, see autod for more detail.

Develop / Deploy with Docker

Requirements

  • docker
  • docker-compose

Config

docker-compose config
  • development: docker-compose.dev.yml
  • production: docker-compose.yml
Change port
version: "3"
services:
  node-server:
    ports:
      - ${HOST PORT}:7001

Develop

#  start
$ docker-compose -f docker-compose.dev.yml up

# stop
$ docker-compose -f docker-compose.dev.yml down

# stop and remove valume/cache
$ docker-compose -f docker-compose.dev.yml down -v

Deploy

# start
$ docker-compose up -d

# stop
$ docker-compose down

# stop and remove volume/cache
$ docker-compose down -v

CHANGELOG

v2.2.3

  • fix: “一言” 接口修复

v2.2.2

  • fix: 后台管理在获取评论列表时把子评论过滤掉了

v2.2.1

  • fix: 备份数据上传失败会邮件通知管理员
  • fix: 垃圾评论检测时机有问题
  • fix: 文章评论数统计未区分评论状态

v2.2.0

  • feat: 新增管理员检测的接口
  • feat: 新增C端公告的接口
  • feat: 定时任务新增数据库备份任务,配合jenkins进行数据备份
  • feat: 歌单歌曲新增歌词
  • fix: 配置里更新歌单ID时,未更新redis缓存
  • fix: 评论IP获取错误
  • fix: 评论的新用户重复创建
  • fix: 歌单定时任务里报undefined错误(因为未考虑抓取失败场景)

v2.1.0

2018-11-03

  • feat: 评论&留言的邮件通知支持自定义模板
  • feat: 添加音乐接口,支持网易云音乐
  • feat: voice支持redis缓存
  • refactor: 移除reponse的中间件,添加到context的extend中

v2.0.3

2018-10-13

  • fix: marked开启sanitize
  • fix: marked渲染图片时title错误
  • fix: 统计数据-总数统计错误,添加情况分类
  • fix: voice获取失败情况处理

v2.0.2

2018-10-12

  • fix: github获取用户信息时clientID和clientSecret错误
  • fix: add marked sanitize control
  • fix: archive接口的月维度数据排序错误
  • fix: 关联文章排序错误

v2.0.1

2018-10-09

  • fix: 获取context的ip错误
  • chore: docker添加logs的volume

v2.0.0

2018-10-07

  • 框架:用Egg重构
  • Model层
    • article增加原创、转载字段
    • 新增notification站内通知和stat站内统计模型
    • user简化,去掉不必要字段
    • setting重构,分类型�
  • 接口
    • 新增voice接口获取一些心灵鸡汤文字
    • 新增ip接口查询ip
  • 服务
    • ip查询优先阿里云IP查询,geoip-lite为降级
    • 定时任务换成egg的schedule
    • model proxy重构
    • 业务逻辑拆分,每个model都有其对应的service层
    • admin user和setting初始化流程变更
    • 完善的日志系统
  • addon
    • 接入sentry
    • docker支持
    • 增加release tag

v1.1.0

  • 文章归档api(2018.01.04)
  • Model代理 (2018.01.28)
  • ESlint (2018.02.01

v1.0.0

  • 音乐api (2017.9.26)
  • Github oauth 代理 (2017.9.28)
  • 文章分类api (2017.10.26)
  • Redis缓存部分数据 (2017.10.27 v1.1)
  • 评论api (2017.10.28)
  • 评论定位 geoip (2017.10.29)
  • 垃圾评论过滤 akismet (2017.10.29)
  • 用户禁言 (2017.10.29)
  • 评论发送邮件 nodemailer (2017.10.29)
  • GC优化 (2017.10.30,linux下需要预先安装g++, 已废弃)
  • 个人动态api (2017.10.30)
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].