Skip to content

Latest commit

 

History

1 Commit

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Solar Energy Platform (Full‑Stack)

A modern solar energy website (React + Tailwind + Framer Motion) with a small Node/Express backend for saving leads and editable settings.

Requirements

  • Node.js 18+ (recommended)
  • npm 9+

Run (development)

From the project root:

npm install
npm run dev

Production build

npm run build
npm run start

Admin settings

Open the site and click Admin settings in the navbar/footer. By default settings are stored in:

  • Backend: backend/data/settings.json (authoritative)
  • Frontend caches settings in localStorage for fast UI (will sync)

To secure admin updates, set an admin token in backend/.env:

ADMIN_TOKEN=your-secret

Then in the UI Admin modal, enter the same token.

WhatsApp Ordering

The calculator generates a WhatsApp message and opens WhatsApp Web/app for the admin number configured in settings.

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages