{"id":23263799,"url":"https://github.com/gitericsson/enerdit-fe","last_synced_at":"2026-04-15T06:32:20.036Z","repository":{"id":268867262,"uuid":"905672001","full_name":"gitEricsson/Enerdit-FE","owner":"gitEricsson","description":"Enerdit is a web application designed to help users understand and manage household energy consumption. The frontend is built using React and provides a user-friendly interface for conducting energy audits, viewing reports, and managing user accounts.","archived":false,"fork":false,"pushed_at":"2024-12-19T18:01:47.000Z","size":1544,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-06T06:34:28.066Z","etag":null,"topics":["axios","react","recharts","tailwind-css","yup"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/gitEricsson.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-12-19T09:48:13.000Z","updated_at":"2024-12-19T18:01:50.000Z","dependencies_parsed_at":"2024-12-19T11:40:34.546Z","dependency_job_id":"bd73e43a-a12d-4e05-b210-e1c8c58caf03","html_url":"https://github.com/gitEricsson/Enerdit-FE","commit_stats":null,"previous_names":["gitericsson/enerdit-fe"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/gitEricsson/Enerdit-FE","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gitEricsson%2FEnerdit-FE","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gitEricsson%2FEnerdit-FE/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gitEricsson%2FEnerdit-FE/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gitEricsson%2FEnerdit-FE/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/gitEricsson","download_url":"https://codeload.github.com/gitEricsson/Enerdit-FE/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gitEricsson%2FEnerdit-FE/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31829877,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-14T18:05:02.291Z","status":"online","status_checked_at":"2026-04-15T02:00:06.175Z","response_time":63,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["axios","react","recharts","tailwind-css","yup"],"created_at":"2024-12-19T14:27:38.082Z","updated_at":"2026-04-15T06:32:20.015Z","avatar_url":"https://github.com/gitEricsson.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Enerdit Frontend\n\nEnerdit is a web application designed to help users understand and manage household energy consumption. The frontend is built using React and provides a user-friendly interface for conducting energy audits, viewing reports, and managing user accounts.\n\n## Table of Contents\n\n- [Features](#features)\n- [Technologies Used](#technologies-used)\n- [Installation](#installation)\n- [Usage](#usage)\n- [Folder Structure](#folder-structure)\n\n## Features\n\n- User authentication (signup, login, email verification)\n- Energy audit functionality\n- Dynamic dashboard displaying energy consumption data\n- Responsive design for mobile and desktop\n- Integration with various libraries for charts and data visualization\n\n## Technologies Used\n\n- **React**: A JavaScript library for building user interfaces.\n- **React Router**: For routing and navigation.\n- **Axios**: For making HTTP requests to the backend API.\n- **Tailwind CSS**: For styling and responsive design.\n- **Recharts**: For data visualization through charts.\n- **Yup**: For form validation.\n- **React Hook Form**: For managing form state and validation.\n\n## Installation\n\nTo get started with the Enerdit frontend, follow these steps:\n\n1. Clone the repository:\n\n   ```bash\n   git clone https://github.com/yourusername/enerdit-frontend.git\n   ```\n\n2. Navigate to the project directory:\n\n   ```bash\n   cd enerdit-frontend\n   ```\n\n3. Install the dependencies:\n\n   ```bash\n   npm install\n   ```\n\n4. Create a `.env` file in the root directory and add the following environment variables:\n   ```\n   REACT_APP_API_BASE_URL=http://localhost:8000/api\n   REACT_APP_GOOGLE_CLIENT_ID=your_google_client_id\n   REACT_APP_GOOGLE_APP_REDIRECT_URI=http://localhost:3000/auth-callback\n   ```\n\n## Usage\n\nTo run the application in development mode, use the following command:\n\n```bash\nnpm start\n```\n\nThis will start the development server and open the application in your default web browser at `http://localhost:3000`.\n\n## Folder Structure\n\nThe project has the following folder structure:\n\n```\nenerdit-frontend/\n├── public/                  # Static files\n│   ├── index.html          # Main HTML file\n│   ├── manifest.json       # Web app manifest\n│   └── favicon.ico         # Favicon\n├── src/                     # Source files\n│   ├── components/          # Reusable components\n│   ├── pages/              # Page components\n│   ├── services/           # API service functions\n│   ├── styles/             # CSS files\n│   ├── App.js              # Main application component\n│   └── index.js            # Entry point\n├── .gitignore               # Git ignore file\n├── package.json             # Project metadata and dependencies\n└── README.md                # Project documentation\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgitericsson%2Fenerdit-fe","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgitericsson%2Fenerdit-fe","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgitericsson%2Fenerdit-fe/lists"}