https://github.com/jeanvydes/api-social-network
API for main features for a social network
https://github.com/jeanvydes/api-social-network
Last synced: about 2 months ago
JSON representation
API for main features for a social network
- Host: GitHub
- URL: https://github.com/jeanvydes/api-social-network
- Owner: JeanVydes
- License: mit
- Created: 2022-06-28T17:33:50.000Z (almost 3 years ago)
- Default Branch: master
- Last Pushed: 2022-06-30T04:27:55.000Z (almost 3 years ago)
- Last Synced: 2025-01-17T07:42:40.054Z (4 months ago)
- Language: Go
- Size: 14.6 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Social Network API
API for main features for a social network
# Enviroment Variables Structure
```
PORT=
MONGO_URL=
MAIN_DATABASE_NAME=
```# Structures
- Authentication
- Sign Up
- Sign In
- Post
- Upload
- Delete
- Like
- Unlike
- Comment
- Create
- Delete
- Like
- Unlike
- Replies
- Create
- Delete
- Users Interaction
- Follow
- Unfollow
- Block
- Unblock
- People Suggestions based in followings
- Update Self Information
## User Structure- Identificator
- First Name
- Last Name
- Username
- Password (Encrypted)
- Profile Picture
- Verified Account
- Followers
- Following
- Blocked Users
- Liked Posts
- Saved Posts
- Sign In Sessions Logs## Post Structure
- Identificator
- Author Identificator
- Title
- Content
- Creation Date
- Likes
- Comments## Comment Structure
- Identificator
- Post Identificator
- Author Identificator
- Content
- Creation Date
- Likes
- Replies## Reply Structure
- Identificator
- Comment Indentificator
- Author Identificator
- Content
- Creation Date## Like Structure
- Identificator of the user who liked
- Date of the like