Giter VIP home page Giter VIP logo

fake-news-filter-server's Introduction

Fake News Filter - Server

Overview

The Fake News Filter - Server project is designed to handle the reading, authentication, and logging functionalities related to news articles. The primary focus is on fetching and processing news, allowing users to comment, and ensuring secure authentication.

Main Features

  1. Reading News: Fetch and display news articles from various sources.
  2. Comment System: Enable users to comment on news articles.
  3. Authentication: Secure user authentication to protect user data and interactions.
  4. Logging: Implement comprehensive logging for monitoring and debugging purposes.

Architecture

Data Model Architecture

The project follows a modular architecture consisting of the following components:

  • Applications: Core logic and functionality.
  • Data: Data storage and retrieval, integrating with SQL Server.
  • Utilities: Common utilities and helper classes.
  • ViewModel: Structures to represent data for efficient presentation.

Technology Stack

  • .NET 6.0: The project is developed using the latest .NET framework for modern and efficient development.
  • SQL Server: Database management for storing and retrieving data.
  • Quartz: Job scheduling for periodic tasks.
  • Docker: Containerization for easy deployment and scalability.

Project Structure

The project is divided into three main components:

  1. API: Handles the backend logic and provides an interface for client applications.
  • Docker and container management:

    alt text

  • Swagger Api

    alt text

  1. User App (MVC): Web application for end-users to interact with news articles, comments, and other features.

    alt text

  2. API App (MVC): Web application specifically for API interactions, providing a developer-friendly interface.

    alt text

How to Run

Prerequisites

  • .NET 6.0 SDK
  • Docker

Steps

  1. Clone the repository:
git clone https://github.com/your-username/fake-news-filter-server.git
cd fake-news-filter-server
  1. Build and run Docker containers:
docker-compose up --build
  1. Access the applications:

  2. Import the collections (Optional): Assert/fakenewsfilter.collection.json

  3. Import full data, open sqlserver import bak(Optional): Assert/owltrust.bak

  4. Run in local mode(Optional):

cd FakeNewsFilter.API 
dotnet run
  • Open new terminal:
cd FakeNewsFilter.UserApp 
dotnet run

Configuration

  • Update configuration files in each application folder for specific settings such as database connection strings, authentication keys, etc.

fake-news-filter-server's People

Contributors

buiphukhuyen avatar hkhansh27 avatar xuanthanhtah avatar nhonvo avatar

Stargazers

Jira Nguyễn avatar

Watchers

 avatar

Forkers

toolkitcore

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.