Social Media Platform Backend GraphQL
This repository includes basic GraphQL template for Social Media Platform. Posts are updated realtime using websockets.
Features:
- Feed
- View post
- Edit post
- Add post
- Delete post
- Signup
- Login
- Logout
Tools used
mongoDB
- NoSQL databasemongoose
- Library for MongoDB to make working with mongoDB easierbcrypt
- password encryption for user passwordsmulter
- upload files to postsJWT (JSON Web Token)
- authenticate requestsexpress-graphql
- handle GraphQL requestssocket.io
- to trigger update on client via websockets when new posts have been added to backend