Skip to content

nazmul-nhb/nexus-news-client

Repository files navigation

Nexus News

Project Overview

A Simple News Portal Website

Nexus News is a feature-rich news website designed to provide users with a seamless and engaging experience. The platform offers the latest news and articles from renowned publishers across the globe and provides various functionalities for both free and premium users, ensuring dynamic interaction with news content. It also includes subscription options using Stripe for easy and secure payments.

Live Link

Notable Features of the Website

  • Integrated Stripe for User Subscription Payments: Secure and efficient payment processing for premium subscriptions.
  • Advanced Article Search & Filter: Users can search by title, filter by publisher or tags, and sort articles by date.
  • Subscription Expiration Alerts: The application checks for expiration date for premium users every 30 seconds and popup alerts notify users about subscription expiration.

Admin Access

For admin access, use the following credentials:

  • Email: admin@nexus.com
  • Password: Admin@Nexus42

Payment Card Info for Subscription

Test Card Information
Card Type Card Number CVC Expiration Date ZIP Code
Visa 4242424242424242 Any 3 digits Any future date Any 5 digits
Visa (debit) 4000056655665556 Any 3 digits Any future date Any 5 digits
Mastercard 5555555555554444 Any 3 digits Any future date Any 5 digits
Mastercard (2-series) 2223003122003222 Any 3 digits Any future date Any 5 digits
Mastercard (debit) 5200828282828210 Any 3 digits Any future date Any 5 digits
Mastercard (prepaid) 5105105105105100 Any 3 digits Any future date Any 5 digits
American Express 378282246310005 Any 4 digits Any future date Any 5 digits
American Express 371449635398431 Any 4 digits Any future date Any 5 digits
Discover 6011111111111117 Any 3 digits Any future date Any 5 digits
Discover 6011000990139424 Any 3 digits Any future date Any 5 digits
Discover (debit) 6011981111111113 Any 3 digits Any future date Any 5 digits
Diners Club 3056930009020004 Any 3 digits Any future date Any 5 digits
Diners Club (14-digit card) 36227206271667 Any 3 digits Any future date Any 5 digits
BCcard and DinaCard 6555900000604105 Any 3 digits Any future date Any 5 digits
JCB 3566002020360505 Any 3 digits Any future date Any 5 digits
UnionPay 6200000000000005 Any 3 digits Any future date Any 5 digits
UnionPay (debit) 6200000000000047 Any 3 digits Any future date Any 5 digits
UnionPay (19-digit card) 6205500000000000004 Any 3 digits Any future date Any 5 digits

Technologies Used in this Project

  • ReactJS
  • JavaScript
  • TailwindCSS
  • Express.js (Server Side)
  • MongoDB (Server Side)

Run the Project Locally

  1. Clone the Repository:

    git clone https://github.com/nazmul-nhb/nexus-news-client.git
    cd nexus-news-client
  2. Install Dependencies:

    npm install
  3. Set Up Environment Variables: Create a .env.local file in the root directory and add the necessary environment variables. (Important!)

  4. Run the Application:

    npm run dev -- --host
  5. Access the Site: Open your browser and go to http://localhost:5173/ or http://192.168.1.12:5173/ from other devices on the same network to view the application.

Utility Packages Used in this Project

Click to Expand