Open API 3.0 spec for creating social networking API
This specification was created as part of The Postman API Hack and provides a OpenAPI 3.0 specification for creating Social Networking API, using these API's you can create a social networking website like Facebook, Twitter
You can goto to find the workspace with API collection , Tests and Mock Server for developing using this API specification.
- Blog Posts about the project and hackathon - https://physcocode.com/category/postman/
- Document explaining the API's can be found here - https://documenter.getpostman.com/view/1722111/TW6tLq53
- You can find the public workspace here - https://www.postman.com/pranjalshop/workspace/the-social-network-api-s/overview
- API design concept - https://physcocode.com/ossn-api-open-source-social-networking-api-design-concept/
- Server side implementation of specification - https://github.com/OSSNAPI/OSSN-server-php
- User API collection - Collection of API's to manage users
- Posts API collection - Collection of API to manage posts that can range from small tweets to a full image post or even a slide of images
- Like and Comment API collection - API to manage likes and comments attached to posts
- User Relation API collection - Collection of api to mange relation between users (friends,follow,cirecles etc)
- Messaging API collection - Collection of api for building 1-1 or group
- Feed API collection - Collection od api to manage activity feed
- User - to store and retrieve user data
- Post - this is the basic backbone of social feature, a post can be anything from short tweets, to image based post
- Feed - this is used to store interaction between users , user and post and other activity of users. Eg : X likes a post , X is now friends with Y etc. These activities can then be displayed on feed
- Like - store list of all user who likes a particular post
- Comments - store all the comments for a post
- UserRelation - this stores relation between two users , this can be used to implement relations like 'friends', 'follow' or something as complex as 'circles' that was introduced by Google +
- Message - this stores messeges sent in groups or 1-1 interaction
- MessageRoom - this stores the messaging rooms , rooms can be 1-1 messaging rooms or group message rooms. Message rooms are where messages are exchanged
This project is created by Pranjal Pandey and is available under MIT license