Welcome to YABGSMS
Get started using Yet Another Basic GraphQL Social Media Server
Get Started!
Welcome to the docs! YABGSMS is a simple GraphQL server that allows you to create, read, update, and delete posts and users. It is built using Fumadocs and GraphQL / ApolloServer.
You can play around with the server using the GraphQL Client on the Cloudflare Worker. Some endpoints require an admin token, which is just the header Authorization: secret
for now (just a basic placeholder for showcase purposes)
The server is divided in two simple parts: Posts and Users. You can create, read, update, and delete both of them.
Posts
Posts are simple. They have an ID, an author, a title, and content. The content can be either an image or text.
Users
Users are also simple. They have a username, a full name, and an ID.
Schema
Below is the entire schema for the server. You can use this to understand how the server works, and how to interact with it.