Skip to content

Bem-vindo à API para a Social Media Incognito, um backend robusto desenvolvido em Node.js com suporte a MongoDB. Esta API oferece funcionalidades essenciais para a plataforma de rede social anônima, como autenticação de usuário e gerenciamento de postagens, com uma arquitetura orientada a objetos para escalabilidade e manutenção fácil.

Notifications You must be signed in to change notification settings

matheus-kiyoshi/socialmedia-api

Repository files navigation

SOCIAL MEDIA API

  • Production

USER

  • DONE

  • /api/register (POST) => Create user

    • DONE
  • /api/login (POST) => Sign-in user

    • DONE
  • /api/users (GET) => Get all users

    • DONE
  • /api/users/:username (GET) => Get User Public Data

    • DONE
  • /api/users/:username/password (PATCH) => (need jwt) Update user password

    • DONE
  • /api/users/:username/profile (PATCH) => (need jwt) Update user data

    • DONE
  • /api/users/:username (DELETE) => (need jwt) Delete user

    • DONE
  • /api/users/:username/follow (POST) => Follow other user

    • DONE
  • /api/users/:username/followers (GET) => Get all user followers data

    • DONE
  • /api/users/:username/unfollow (DELETE) => Unfollow other user

    • DONE
  • /api/users/:username/block (POST): Block other user

    • DONE
  • /api/users/:username/block (GET) => Get user blocked

    • DONE
  • /api/users/:username/unblock (DELETE) => Unblock User

    • DONE
  • /api/users/:username/report (POST): Report other user

    • DONE

POST

  • DONE

  • /api/posts (POST) => Create post

    • DONE
  • /api/posts (GET) => Get posts (limit of posts received)

    • DONE
  • /api/posts/:postID (GET) => Get specific post

    • DONE
  • /api/posts/:postID (PATCH) => (need jwt) Edit post

    • DONE
  • /api/posts/:postID (DELETE) => (need jwt) Delete post

    • DONE
  • /api/posts/:postID/like (POST) => Send a like to post (limit of one per user)

    • DONE
  • /api/posts/:postID/repost (POST) => Repost on user account (post only can be reposted once by each user)

    • DONE
  • /api/posts/:postID/report (POST) => Report post

    • DONE

COMMENTS

  • /api/posts/:postID/comments (POST) => Create a comment on the post
    • DONE
  • /api/posts/:postID/comments (GET) => Get post comments
    • DONE

SEARCH

  • /api/search/users (GET) => Search users
    • DONE
  • /api/search/posts (GET) => Search posts
    • DONE

About

Bem-vindo à API para a Social Media Incognito, um backend robusto desenvolvido em Node.js com suporte a MongoDB. Esta API oferece funcionalidades essenciais para a plataforma de rede social anônima, como autenticação de usuário e gerenciamento de postagens, com uma arquitetura orientada a objetos para escalabilidade e manutenção fácil.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published