Git Product home page Git Product logo

socialmediaapi's Introduction

Author: Sergio Martín Ramírez

The project consists of a simple API for a social network where users can write publications and comments to existing publications. It uses Node.js, Express and MongoDB.

The author of a publication can tag it with descriptive words so that others users can visualize it in their walls according to the interests that have been subscribed. The publications and their comments can be evaluated with a "Like".

In order for a user to use the social network, they must have registered previously. Once authorized, he will be able to download his wall, where he wil get his publications and publications on topics of interest to which he has subscribed when registering. The user can subscribe to new topics of interest when he wishes.

The user can block other user's to avoid viewing their publications and comments.

In the SocialMedia.postman_collection.json file you will find a Postman collection with examples of all possible requests accepted by the API. You only have to import the file in Postman to be able to test the API.

In the dbbackup / dump folder there is a copy of the database that can be restore with mongodbrestore --db socialmedia


Autor: Sergio Martín Ramírez

El proyecto consiste en una sencilla API para una red social donde los usuarios pueden escribir publicaciones y comentarios a publicaciones existentes. Utiliza Node.js, Express y MongoDb.

El autor de una publicación la etiquetará con una palabra descriptiva para que otros usuarios puedan visualizarla en sus muros según los intereses a los que se haya suscrito. Las publicaciones y sus comentarios pueden ser valorardos con un "Me gusta".

Para que un usuario pueda utilizar la red social tendrá que haberse registrado previamente. Una vez autorizado, pordrá descargar su muro, donde estarán sus publicaciones y las publicaciones sobre temas de interés a los que se haya suscrito al registarse. El usuario podrá suscribirse a nuevos temas de interés cuando desee.

El usuario podrá bloquear a otro usuario para evitar visualizar sus publicaciones y sus comentarios.

En el archivo SocialMedia.postman_collection.json se encuentra la colección de Postman con un ejemplo de todas las peticiones posibles que acepta el API. Sólo hay importar el archivo en Postman para poder probar el API.

En la carpeta dbbackup/dump hay una copia de la base de datos que se puede restaurar con mongodbrestore --db socialmedia

socialmediaapi's People

Contributors

giosoftware avatar

Stargazers

 avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.