⭐
Social Media backend designed to connect users in a secure online environment.
Our development journey has been focused on creating a social network engaging with users, posts and comments with an emphasis on security, performance, and functionality.
- User registration using Bcrypt.
- User login + token + middleware.
- Implementing CRUD operations.
- Validations.
- Using Multer to send images.
- Confimation email and recover password.
- Like/remove/update a post.
- Backend available in production.
# Clone the repository
$ git clone
# Enter the directory
$ cd
# Install the dependencies
$ npm install
# Start the project
$ npm start
Developed with JavaScript, leveraging Express, Mongosh, and Mongoose for seamless integration with a MongoDB database. Security is reinforced through the implementation of Bcrypt and JSON Web Token to safeguard user data.
The system encompasses CRUD operations (Create, Read, Update, Delete). The Social network features various types of endpoints, some of which are highly specific and secure. To enhance security, there are 3 type os middlewares. Rigorous testing of all endpoints using Postman was conducted before deploying to the Main branch, ensuring a robust and reliable system.
Users:
- Register a new user
- Login
- Confirm email
- Update by ID
- Get logged user (profile info)
- Get user by ID
- Get by name
- Follow a user
- Unfollow a user
- Logout
Posts:
- Create a new post
- Update
- Delete
- Get all posts
- Get by ID
- Like a post
- Unlike a post
Comments:
- Create a new comment
- Delete
This project is under license of Olatz Goti
Olatz Goti

