Skip to content

o83213/catbook-fullstack

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

catbook-fullstack

This is a simple introduction of this app, there is a version with more detail in the folder.

Introduction

This is a social media app clone with the common features, like: creating post, leaving comment, and adding friends. Below are the seven main features:

  1. User can write their post, with text and image
  2. User can delete their own post
  3. User can leave common on the post
  4. User can like the post
  5. User can add another user as friend
  6. User can have a conversation with their friend
  7. User’s conversation will have immediately response

Structure and Design

The app is build with React and Express framework with both Apollo client and server. The Database is build with Postgres SQL and firebase is used for image storing. GQL is used instead of Restful API because some adventages like type safety schema, nested query, custom query field... and so on. Authentication and Authorization rely on json web token mechanism. With refresh token this become a fine solution for the simple stateless authetication method. For the subscription, I use simple pubsub model with websocket library. With the help of apollo subscription hook, the chatting system is created!

About

A social media clone with post, comment, friend, and chatting system!

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors