All Projects → airingursb → 2life-server

airingursb / 2life-server

Licence: Apache-2.0 License
💌 双生:遇见另一半的美好:)(服务端)

Programming Languages

javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to 2life-server

gulp-webpack-boilerplate
A good foundation for your next frontend project.
Stars: ✭ 56 (-15.15%)
Mutual labels:  gulp, babel, eslint
webpack-gulp-wordpress-starter-theme
A WordPress theme with Webpack & Gulp
Stars: ✭ 110 (+66.67%)
Mutual labels:  gulp, babel, eslint
Gulp Starter Kit
A simple Gulp 4 Starter Kit for modern web development.
Stars: ✭ 134 (+103.03%)
Mutual labels:  gulp, babel
Glup
Some of the gulp tutorial -《gulp笔记》
Stars: ✭ 136 (+106.06%)
Mutual labels:  gulp, babel
Gopablo
🐺 Static site generator.
Stars: ✭ 166 (+151.52%)
Mutual labels:  gulp, babel
Frontie Webpack
Front-end Boilerplate | Gulp 4 + Webpack 4 + Babel + ITCSS Architecture + BEM Methodology + Twig.js
Stars: ✭ 102 (+54.55%)
Mutual labels:  gulp, babel
Gulp Cli
使用gulp前端自动化构建工具搭建前端项目,作为初始化项目
Stars: ✭ 119 (+80.3%)
Mutual labels:  gulp, eslint
Generator Phaser Plus
[🛑 DISCONTINUED] It has been a long journey but development of `generator-phaser-plus` is now over. I recommend you have a look and fork `yandeu/phaser-project-template` instead.
Stars: ✭ 148 (+124.24%)
Mutual labels:  gulp, babel
Generator Fountain Webapp
Yeoman 'fountain' generator to start a webapp
Stars: ✭ 985 (+1392.42%)
Mutual labels:  gulp, eslint
Gulp Pug Starter
Frontend development with pleasure. Pug + SCSS version
Stars: ✭ 228 (+245.45%)
Mutual labels:  gulp, babel
100 Days Of Code Frontend
Curriculum for learning front-end development during #100DaysOfCode.
Stars: ✭ 2,419 (+3565.15%)
Mutual labels:  gulp, eslint
react-ssr-spa
Server side rendered single page app using reactjs official libraries.
Stars: ✭ 30 (-54.55%)
Mutual labels:  gulp, eslint
Nextjs Full Demo
Demo about integration between examples of next.js and also fix some issues during development
Stars: ✭ 76 (+15.15%)
Mutual labels:  gulp, babel
Generator Dhboilerplate
Boilerplate made by David Hellmann
Stars: ✭ 54 (-18.18%)
Mutual labels:  gulp, eslint
Nightwatch Custom Commands Assertions
Nightwatch.js custom commands and assertions
Stars: ✭ 131 (+98.48%)
Mutual labels:  gulp, babel
Dough
React/Redux + SASS + Gulp/Browserify/Babel skeleton codebase with demo application.
Stars: ✭ 38 (-42.42%)
Mutual labels:  gulp, babel
Kickup
🚚 Boilerplate for your perfect front-end environment (utilizing Gulp.js, Babel, and more)
Stars: ✭ 139 (+110.61%)
Mutual labels:  gulp, babel
Gulp Scss Starter
Frontend development with pleasure. SCSS version
Stars: ✭ 339 (+413.64%)
Mutual labels:  gulp, babel
Wordpress Starter
📦 A starter template for WordPress websites
Stars: ✭ 26 (-60.61%)
Mutual labels:  gulp, babel
Hugo theme pickles
Modern, Simple and beautiful Hugo theme
Stars: ✭ 168 (+154.55%)
Mutual labels:  gulp, babel

“双生” 服务端文档

包括服务端接口文档与模型文档(见docs),仅供学习使用,严禁商业用途。

同时热烈欢迎pr~

  1. 用户模块
  2. 日记模块
  3. 通知模块

用户模块

1. User

  • id
  • code:用户id,匹配用
  • account
  • password
  • name
  • sex
  • face
  • status:用户的状态(详见数据字典)
  • total_notes:日记总数
  • mode:平均情绪值
  • last_times:本月剩余匹配次数
  • total_times:已匹配次数
  • badges:已拥有徽章id,英文逗号隔开
  • badge_id:用户选择展示的徽章id
  • rate:用户评分
  • connect_at:最近一次匹配时间
  • openid:微信openid
  • other_user_id:匹配用户id
  • ban_id:用户黑名单,英文逗号隔开
  • unread:用户未读消息数

数据字典

sex:

  • 0:男
  • 1:女

status:

  • 0:未匹配,刚解除匹配的临界状态
  • 101:未匹配,期待异性,性格相同,主体男
  • 102:未匹配,期待异性,性格互补,主体男
  • 103:未匹配,期待异性,性格随意,主体男
  • 111:未匹配,期待异性,性格相同,主体女
  • 112:未匹配,期待异性,性格互补,主体女
  • 113:未匹配,期待异性,性格随意,主体女
  • 201:未匹配,期待同性,性格相同,主体男
  • 202:未匹配,期待同性,性格互补,主体男
  • 203:未匹配,期待同性,性格随意,主体男
  • 211:未匹配,期待同性,性格相同,主体女
  • 212:未匹配,期待同性,性格互补,主体女
  • 213:未匹配,期待同性,性格随意,主体女
  • 501:无匹配次数
  • 502:无匹配权限(无日记)
  • 503:无匹配权限(永久封禁)
  • 504:无匹配权限(有限封禁)
  • 999:关闭匹配
  • 1000:已匹配

2. Badge

  • id
  • name
  • image
  • bio

3. Award

  • id
  • code
  • badge_id
  • used

日记模块

1. Note

  • id
  • user_id
  • title
  • content
  • images:日记的配图url,英文逗号隔开
  • latitude
  • longitude
  • location
  • is_liked
  • mode
  • date: 创建日记时间戳
  • status:写日记时用户的状态

数据字典

is_liked:

  • 0:未被喜欢
  • 1:已被喜欢

通知模块

1. Message

  • id
  • title
  • type
  • content
  • image
  • url
  • date:创建通知的时间戳
  • user_id

数据字典

type:

  • 0:系统消息(被ban、无次数等)
  • 101:通知(无url,有content)
  • 102:活动、宣传等(有url,有content)
  • 201:被匹配(无url,无content)
  • 202:被解除匹配(无url,无content)
  • 203:被喜欢(无url,无content)
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].