Giter Site home page Giter Site logo

learn-restify's Introduction

restify练习项目

为了更加熟悉客户端与服务端的交互流程,使用基于nodejs实现的技术框架开发一个简单的推特站点

@TODO

description | done

  • | - tweets model | not yet tweets routes | not yet

暂定产品规则

  • 不收集用户的密码
  • 可选的推特时效:1天、3天、1周、1月、1季度
  • 利用第三方API作内容审核
  • 每天只能发言 n 次 (尚未确定限制次数,不希望用户无限制次数发言)
  • 产品名称未定

项目依赖

  • restify
  • better-sqlite3

开发环境

$ node -v
v12.18.2
$ yarn -v
1.22.4

运行项目

$ yarn start

数据表

users

column name | description

  • | - user_id | 用户id user_name | 用户名称 ip_address | ip地址 avatar_url | 用户头像

tweets

column name | description

  • | - tweet_id | 推特id tweet_content | 推特内容 tweet_expires | 推特时效 user_id | 用户id

learn-restify's People

Contributors

junwuhuang avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.