Skip to content

Achmad-Farid/portal-berita

Repository files navigation

Portal Berita

Portal Berita is a news portal built using React and Vite. The project is fully responsive and includes features such as dark mode and Progressive Web App (PWA) support.

Features

  • Responsive design
  • Dark mode (based on system preference)
  • Admin and journalist login
  • Dashboard accessible through the profile page
  • PWA support

Installation

  1. Clone the repository:

    git clone https://github.com/Achmad-Farid/portal-berita.git
    cd portal-berita
  2. Install dependencies:

    npm install
  3. For backend, clone and run portal-berita-backend.

  4. add .env

  5. Start the frontend development server:

    npm run dev
  6. Open your browser at [http://localhost to view the portal berita.

Preview

You can also view the live preview of the website at Portal Berita.

home navbar detail profille admin journalist

This website can be installed on mobile devices as a Progressive Web App (PWA)

mobile

Admin & Journalist Login

if you install this project on local you need to manually change role user to admin in databases

in admin dashboard you can change role user to journalist

if you want to try in live server Portal Berita, you can login as admin or journalist with this account

  • Admin login:
    Username: admin
    Password: 123

  • Journalist login:
    Username: journalist
    Password: 123

Dashboard

The dashboard can be accessed via the profile page.

Technologies Used

  • React
  • Vite
  • Tailwind CSS
  • ESLint
  • PWA

Releases

No releases published

Packages

No packages published

Languages