Skip to content

The PUC Project is an integrated system designed to monitor vehicle pollution and validate Pollution Under Control (PUC) certificates

Notifications You must be signed in to change notification settings

Vedarth1/ECOWATCH

Repository files navigation

PUC Project Frontend

This repository contains the frontend code for the PUC (Pollution Under Control) Project, implemented as a Progressive Web App (PWA) using Next.js 14.

Getting Started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes.

Prerequisites

  • Node.js 14.x or later
  • npm

Installation

  1. Clone the repository:

    git clone https://github.com/Vedarth1/ECOWATCH
    cd ECOWATCH
    
  2. Install dependencies:

    npm install
    
  3. Run the development server:

    npm run dev
    
  4. Open http://localhost:3000 with your browser to see the result.

PWA Features

This project is set up as a Progressive Web App, which means it can be installed on mobile devices and desktops, and can work offline. Key PWA features include:

  • Offline functionality
  • Install prompts on compatible devices
  • Fast loading times
  • Push notifications for important updates

Built With

  • Next.js 14 - The React Framework for Production
  • React - A JavaScript library for building user interfaces
  • next-pwa - PWA plugin for Next.js

Features

  • Progressive Web App functionality
  • Real-time updates of vehicle information
  • Dynamic dashboard for authorities
  • Vehicle status monitoring
  • Detailed reports and analytics
  • Search functionality for specific vehicles
  • User authentication and authorization
  • Responsive design for various device sizes
  • Interactive charts and graphs for data visualization
  • Notification center for important alerts
  • User activity logs
  • Settings panel for application customization

Deployment

To deploy your Next.js PWA, you can use services like Vercel, which is optimized for Next.js:

vercel

Alternatively, you can build the project and deploy it to any static hosting service:

npm run build

Then deploy the out directory to your hosting service.

Performance Optimization

This application is optimized for performance:

  • Server-side rendering for faster initial load
  • Code splitting and lazy loading of components
  • Optimized images and assets
  • Efficient state management
  • Memoization of expensive computations

About

The PUC Project is an integrated system designed to monitor vehicle pollution and validate Pollution Under Control (PUC) certificates

Resources

Stars

Watchers

Forks

Contributors 4

  •  
  •  
  •  
  •