项目作者: DevlarIndia

项目描述 :
Trim - A Social Network
高级语言: JavaScript
项目地址: git://github.com/DevlarIndia/trim.git
创建时间: 2018-06-05T07:46:18Z
项目社区:https://github.com/DevlarIndia/trim

开源协议:

下载


trim

The home of the trim project

TODO: mock server request format

Running the mock server

  1. cd mock-server
  2. npm i
  3. npm start

Routes

Base url: http://localhost:8000`

Routes:

  1. // authentication
  2. get('/login');
  3. get('/signup');
  4. get('/token/refresh');
  5. get('/token/revoke/:token');
  6. get('/token/revoke/all');
  7. // account info
  8. get('/user/info');
  9. // create post
  10. post('/post');
  11. // get feed
  12. get('/feed');