Skip to content

IbrahimDmrck/SocialMedialProject

Repository files navigation

Social Media Project

This project is a social media website where users can sign up, view what others are posting and commenting on, and also share their own content and comments.

NOTE: The data in the project images are fake data. The data in this picture are sample content prepared to promote the web application.

Contents

Pages

LOGIN PAGE



REGISTER PAGE



PASSWORD RESET



HOME PAGE



SHARE,UPDATE AND DELETE CONTENT



ADD AND DELETE COMMENT



READ ALL NOTIFICATIONS



PROFILE PAGE



ACCOUNT SETTING PAGE



SEND VERIFICATION CODE TO USER EMAIL ADDRESS AND USER PASSWORD UPDATE



DELETE USER ACCOUNT



ADMIN PANEL, ARTICLE



ADMIN PANEL, COMMENT UPDATE AND DELETE



ADMIN PANEL, USER UPDATE,DELETE AND PASSWORD RESET



ADMIN PANEL, TOPIC ADD,UPDATE AND DELETE



ADMIN PANEL, CLAIM ADD,UPDATE AND DELETE, ASSIGNING, UPDATE AND DELETE AUTHORİTY TO THE USER



Features

  • Users can sign up and log in to this website.
  • Users who sign up and log in can view the posts and comments of other users on this website.
  • Users can make their own posts and comments.
  • If a user's token has expired, they are automatically logged out of the system.
  • Users can view and update their information.
  • Users can share, edit, and delete their own content using a text editor.
  • When making a post, users can select a topic from active topics to make the post.
  • Users can view comments made on their posts in bulk and mark these comments as "read".
  • The number of unread comments on a user's posts is shown to the user.
  • Users can update their account information, profile picture, and password on the "Settings" page, and they can also delete their account if they wish.
  • On the "My Profile" page, users can see a list of their own posts and information on how many comments each post has received, along with the titles of the topics of their posts.
  • Users are denied access when attempting to view a page for which they do not have permission.
  • When a user wants to update their password or has forgotten their password, a 12-character security code valid for 3 minutes is sent to their email address. If the user enters this code correctly and within the specified time, they can update or reset their password.

-Admin Panel-

  • When a user logs in, if their role is 'Admin', a special 'header' is displayed to allow them access to the admin panel on the website.
  • Admins can edit and delete all posts, topics, users, comments, and permissions through the admin panel.
  • Admins can edit and delete a post and the comments on it.
  • Admins can create, edit, change the status (active/inactive), and delete topics.
  • Topics are automatically checked, and their status is set to inactive at a specified time every day.
  • Users can only see topics that are active.
  • Admins can view users, edit their information, and delete users.
  • Admins can export all users to an Excel spreadsheet and download this spreadsheet.
  • Admins can edit, delete, and create new roles.
  • Admins can add, delete, and change the role of any user.
  • An admin can update the password of any user by sending a 12-character security code valid for 3 minutes to the admin's email address. If the admin enters this code correctly and within the specified time, they can update the user's password.

Installation

  1. Clone the repo
    git clone https://github.com/IbrahimDmrck/SocialMedialProject.git
  2. Create Database And Initialize Migration
    SocialMediaProject > DataAccess > Concrete > Context > SocialMediaContext.cs
     optionsBuilder.UseSqlServer(@"Server=Your-DB-Server ;Database=Your-DB;Trusted_Connection=true;TrustServerCertificate=true;");
  3. and then open the Package Manager Console in Visual Studio , choose Data Access Layer the "Default Project"
  4. Write this in the Package Manager Console:
       update-database
    
  5. Finally Press the Start Button

Tech Stack

Technology / Library Version
.NET 8.0
Autofac 8.0
Autofac.Extensions.DependencyInjection 9.0
Autofac.Extras.DynamicProxy 7.1.0
FluentValidation 11.8.0
Microsoft.AspNetCore.Authentication.JwtBearer 7.0.13
Microsoft.AspNetCore.Http 2.2.2
Microsoft.AspNetCore.Http.Abstractions 2.2.0
Microsoft.AspNetCore.Features 5.0.9
log4net 2.0.15
MailKit 4.4.0
Hangfire 1.8.12
Hangfire.AspNetCore 1.8.12
Hangfire.SqlServer 1.8.12
Microsoft.EntityFrameworkCore 7.0.13
Microsoft.EntityFrameworkCore.Design 7.0.13
Microsoft.EntityFrameworkCore.SqlServer 7.0.13
Microsoft.EntityFrameworkCore.Tools 7.0.13
Microsoft.IdentityModel.Tokens 6.24.0
Mime-Detective 22.12.14
Newtonsoft.Json 13.0.31
ClosedXML 0.102.2

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published