Skip to content

watchborne/charge-points-frontend

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

111 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Netlify Status

🎨 watchborne/frontend app

Next.js dashboard to fetch real-time data on charge points realm.

🚀 Installation

  1. Ask and set NPM_TOKEN env var:

    export NPM_TOKEN=<token>
  2. Install dependencies:

    npm install
  3. Run the app:

    npm run dev

⚙️ Configuration

NEXT_PUBLIC_API_URL=http://localhost:3000

🌐 Netlify deploy previews

Deploy previews are on demand instead of being rebuilt on every push. A preview is built and deployed by the deploy-preview-netlify workflow only when:

  1. A trusted member comments /deploy on the pull request, or
  2. The pull request is marked ready for review (leaves draft state).

Setup

  • In the Netlify UI, disable automatic Deploy Previews so previews are built only through the workflow.
  • Add these repository secrets (Settings → Secrets → Actions):
    • NETLIFY_AUTH_TOKEN — a Netlify personal access token.
    • NETLIFY_SITE_ID — the site's API ID (Netlify → Site configuration → General).
    • NPM_TOKEN — already used by the other workflows, needed for private packages.

About

Dashboard (Next.js) for OCPP Supervisor project

Resources

Stars

Watchers

Forks

Contributors