Skip to content

cwza/faceblock-client

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Project skeleton is created by create-react-app.

A small twitter like SPA app.
Pure Client Rendering. Server Side is at faceblock-server

Features

  • Use google account to login
  • Follow user
  • Show following's posts and self posts
  • Show posts, users with infinite scroll
  • Add post, Add post to post to post...(recursive comments)
  • Search posts, users reactively
  • Use elasticsearch like syntax to search(ex: t1 or t2 and t3)

Library

  • Core: react, redux, react-router, react-router-redux, redux-saga, reselect, normalizr, redux-form, reduxLocalStorage

  • Css: Twitter Bootstrap 4 with Reactstrap

  • Test: Jest

  • Deploy: Github page, spa-github-pages

Redux state like:

{
  apis: {
    faceblock: {
      entities: {
        posts: {
          items: {},
        }
      },
      requestInfo: {
        [requestId]: {
          order: [],
          fetchingStatus: 0,
        }
      }
    }  
  },
  components: {},
  localStorage: {
    authentication: {
      item {
        userId, faceblockToken
      },
      isFetching
    }
  }
}

Releases

No releases published

Packages

No packages published