Skip to content

T4vexx/WeNewsNewsletter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

32 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

WeNews

A Java project that incorporates all the main pillars of object-oriented programming, featuring a UI built with JavaFX.

📌 Dependencies

To run this program, you must have a PostgreSQL database running on your machine.

Once the database is set up and running, you need to edit line 37 of the code with your database credentials:

public sistema() { con = DBFun.connectToDb("DatabaseName", "postgres", "DatabasePassword"); }

The project was developed using Java 20.

✨ Features

WeNews is designed to function as an online news portal with the following capabilities:

User Management

  • Register and create new accounts
  • View user profile information

News & Content Access

  • Free users can read a partial version of news articles
  • Subscribed users have full access to all news articles
  • Users can comment on news articles

Content Creation & Editing

  • Journalists can write news articles
  • Writers can publish opinion articles
  • Editors have permissions to edit any article or news post

Subscription System

  • Users can purchase a subscription to access full content
  • Subscriptions can be renewed within the system

🎨 UI Preview

🚀 Getting Started

1️⃣ Prerequisites

Before running WeNews, make sure you have:

  • Java 20 installed
  • PostgreSQL database running
  • JavaFX dependencies set up in your project

2️⃣ Installation & Execution

Clone the Repository:

git clone https://github.com/yourusername/WeNews.git
cd WeNews

Set Up the Database:

  1. Open PostgreSQL and create a new database
  2. Update line 37 of sistema.java with your database credentials

Run the Application:

mvn clean install
mvn javafx:run

Or if using an IDE like IntelliJ IDEA, simply run the main class.

💡 Future Improvements

  • Implement API support for external news sources
  • Enhance the subscription system with multiple payment methods
  • Improve UI/UX with additional JavaFX animations

🤝 Contributions

If you have suggestions or improvements, feel free to open an issue or submit a pull request! 😊

About

My final Object-Oriented Programming project, where I had to put into practice all the concepts learned in object-oriented design. The project consists of a news portal, where I developed an application in Java using JavaFX.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors