A comprehensive oil well monitoring dashboard with real-time data visualization, analytics, and data entry capabilities.
- Node.js (version 16 or higher)
- Download from: https://nodejs.org/
- Install the LTS version
-
Extract the project files to a folder on your computer
-
Open Command Prompt or PowerShell and navigate to the project folder:
cd path\to\your\project\folder -
Install dependencies:
npm install
-
Start the application:
npm run dev
-
Open your browser and go to:
http://localhost:3000
ongc/
├── src/ # React application source code
│ ├── components/ # Reusable React components
│ ├── pages/ # Page components
│ ├── data/ # Static data files
│ └── utils/ # Utility functions
├── server/ # Backend API server
├── public/ # Static assets
├── data/ # Data storage
└── server.js # Express server
npm start- Start React development servernpm run server- Start Express backend servernpm run dev- Start both frontend and backend serversnpm run build- Build for productionnpm test- Run tests
- Frontend (React App):
http://localhost:3000 - Backend (API Server):
http://localhost:5000 - HTTPS Server:
https://localhost:5001
- Real-time Dashboard with oil well monitoring
- Interactive Maps showing well locations
- Data Entry Forms for well information
- Production Analytics with charts and graphs
- Alert Management system
- Maintenance Logs tracking
- Responsive Design for all devices
- Well data is stored in
data/well_data.csv - User data is stored in
src/data/users.csv - Static well information in
src/data/wells.json
- HTTPS support with self-signed certificates
- CORS enabled for cross-origin requests
- Input validation and sanitization
If you get "port already in use" errors:
# Kill existing Node.js processes
taskkill /f /im node.exeRun Command Prompt as Administrator if you encounter permission issues.
If npm install fails:
npm cache clean --force
npm installFor issues or questions, check the console output for error messages or contact the development team.
ONGC - Oil & Natural Gas Corporation
Empowering Energy Independence