Skip to content

ChronicleInk is a full-stack news platform built with MERN and Firebase Auth. Users can browse, search, and submit articles, subscribe for premium content, and manage profiles. Admins handle user roles, publishers, and article approvals via a dashboard. The app features JWT authentication, responsive design, and real-time smooth & secure experience

Notifications You must be signed in to change notification settings

MRaysa/ChronicleInk-FullStack-News-Platform

Repository files navigation

ChronicleInk FullStack News Platform

A modern, full-featured news platform built with React, Vite, Firebase, and Node.js. ChronicleInk offers premium content, subscription management, article publishing, and a robust admin dashboard.

Live Demo


Table of Contents


Features

  • 🔒 Authentication (Firebase)
  • 📰 Article publishing, editing, and management
  • 💎 Premium subscription plans
  • 👨‍💼 Admin dashboard (manage users, articles, publishers)
  • 🎨 Responsive UI with Tailwind CSS & Flowbite React
  • 📊 Data visualization (Google Charts)
  • 🌗 Light/Dark theme support
  • ⚡ Fast performance with Vite

Tech Stack

Frontend:

Backend:

Deployment:


Getting Started

Prerequisites

Installation

  1. Clone the repository:

    git clone https://github.com/MRaysa/ChronicleInk-FullStack-News-Platform.git
    cd ChronicleInk-FullStack-News-Platform
  2. Install dependencies:

    npm install
    # or
    yarn install

Environment Variables

Create a .env file in the root directory and add your configuration:

VITE_FIREBASE_API_KEY=your_firebase_api_key
VITE_FIREBASE_AUTH_DOMAIN=your_firebase_auth_domain
VITE_FIREBASE_PROJECT_ID=your_firebase_project_id
VITE_FIREBASE_STORAGE_BUCKET=your_firebase_storage_bucket
VITE_FIREBASE_MESSAGING_SENDER_ID=your_firebase_messaging_sender_id
VITE_FIREBASE_APP_ID=your_firebase_app_id
VITE_IMGB_API_KEY=your_imgbb_api_key

Note: You can get Firebase config from your Firebase Console.

Running Locally

Start the development server:

npm run dev
# or
yarn dev

Open http://localhost:5173 in your browser.


Deployment

The project is deployed on Vercel:

To deploy your own version:

  1. Push your code to GitHub.
  2. Import the repo in Vercel.
  3. Set environment variables in Vercel dashboard.
  4. Deploy!

Project Structure

├── src/
│   ├── components/         # Reusable UI components
│   ├── context/            # React context providers (Auth, Theme)
│   ├── hook/               # Custom hooks
│   ├── layouts/            # Layout components (Admin, Main)
│   ├── pages/              # Route pages (Home, Articles, Profile, etc.)
│   ├── Routes/             # App routing
│   ├── utils/              # Utility functions
│   ├── index.css           # Global styles
│   └── main.jsx            # App entry point
├── public/                 # Static assets
├── .env                    # Environment variables
├── package.json            # Project metadata & scripts
├── tailwind.config.js      # Tailwind CSS config
├── vite.config.js          # Vite config
└── README.md               # Project documentation

Contributing

Contributions are welcome! Please open issues or submit pull requests for improvements and bug fixes.



Made with ❤️ by MRaysa

About

ChronicleInk is a full-stack news platform built with MERN and Firebase Auth. Users can browse, search, and submit articles, subscribe for premium content, and manage profiles. Admins handle user roles, publishers, and article approvals via a dashboard. The app features JWT authentication, responsive design, and real-time smooth & secure experience

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published