A Community Renewable Energy Management System for Rural Ghana
# EnergyFlow GH
### Community Renewable Energy Management System for Rural Ghana.
EnergyFlow GH is a web-based platform designed to help rural Ghanaian communities manage renewable energy more efficiently. It provides real-time monitoring of solar energy generation and consumption, intelligent priority-based scheduling of energy distribution, and detailed reporting tools, all built specifically for community-scale deployments where resources are limited and equitable access to electricity matters.
Built with React, NOde.js/Express, and PostgreSQL.
---
## Live Demo Links
| | URL |
|--|-----|
| **Frontend** |
energyflow-gh.onrender.com |
| **Backend API** |
energyflow-server.onrender.… |
### Demo Login Accounts
| Username | Password | Role |
|----------|----------|------|
| admin_kofi | admin123 | Admin |
| provider_ama | provider123 | Energy Provider |
| manager_kwame | manager123 | Community Manager |
| resident_abena | resident123 | Resident |
---
## Project Structure
```
EnergyFlow/
├── client/ # React frontend (Vite)
└── server/ # Node.js/Express backend
```
---
## Prerequisites
Before setting up this project, make sure you have the following installed on your machine:
| Tool | Version | Download |
|------|---------|----------|
| Node.js | v18 or higher |
nodejs.org |
| npm | v8 or higher | Comes with Node.js |
| PostgreSQL | v14 or higher |
postgresql.org |
| Git | Latest |
git-scm.com |
To verify your installations, open a terminal and run:
```bash
node -v
npm -v
psql --version
git --version
```
Each command should print a version number. If any command is not recognised, revisit the installation for that tool.
---
## Step 1: Clone the Repository
```bash
git clone
github.com
cd EnergyFlow
```
---
## Step 2: Run the Setup Script
Navigate to the `server/` folder and run the setup script
```bash
cd server
node setup.js
```
This script will aut …