Skip to content

dl0312/Clap-backend

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

58 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

clap-server

Server for the CLAP, GraphQL, TypeScript, NodeJS

Resolvers

Public Resolvers:

  • Sign In / Sign Up with Facebook
  • Sign In with Email
  • Start Phone Number Verification
  • Complete Phone Number Verification
  • Sign Up with Email

Authentication:

  • Generate JWT
  • Verify JWT

Private Resolvers:

  • User
    • Query
      • Get My Profile
      • Get My Followers ( Implemented on GetMyProfile )
      • Get My Following
    • Mutation
      • Request Email Verification
      • Complete Email Verification
      • Update my Profile
      • Follow User
      • Unfollow User
  • Post
    • Query
      • Get All Posts
      • Search by Keyword ( Title, Body, Both )
      • Get My Posts
    • Mutation
      • Add Post
      • Edit Post
      • Delete Post
  • Comment
    • Query
      • Get Comments by Post
    • Mutation
      • Add Comment On Post
      • Add Commnet On Comment
      • Edit Comment
      • Delete Comment
  • Clap
    • Query
      • Check My Sended Claps ( Implemented on GetMyProfile )
      • Check My Received Claps For Each Posts ( Implemented on GetMyProfile )
    • Mutation
      • Send Clap to Post
  • Image
    • Query
    • Mutation
      • Add Image
      • Edit Image
      • Delete Image
  • Category
    • Query
    • Mutation
      • Add Category ( need to implement level )
      • Edit Category ( need to fix )
      • Delete Category
  • Message
    • Query
      • Check Received Messages
      • Check Send Messages
    • Mutation
      • Send a Message
  • Achievement
    • Query
      • Check How Many Users Achieve
    • Mutation
  • Product
    • Query
      • Get All Products
      • Get All Products with Game Category
      • Get Specific Product ( Get Product By ID)
    • Mutation
      • Add Product
      • Edit Product
      • Delete Product( need to? )
      • Purchase Product (= Add Exchange)
  • Exchange
    • Query
      • Get My Exchanges
    • Mutation
      • Add Exchange