{"id":26484638,"url":"https://github.com/antogno/powering","last_synced_at":"2026-04-12T10:40:36.180Z","repository":{"id":283259795,"uuid":"951170789","full_name":"antogno/powering","owner":"antogno","description":"Simple management system in PHP for vehicles and branches of a company.","archived":false,"fork":false,"pushed_at":"2025-03-19T09:33:34.000Z","size":4318,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-19T10:34:31.295Z","etag":null,"topics":["bootstrap","codeigniter","crud","docker","mysql","php","smarty"],"latest_commit_sha":null,"homepage":"","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"cc0-1.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/antogno.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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":"2025-03-19T09:14:50.000Z","updated_at":"2025-03-19T09:33:38.000Z","dependencies_parsed_at":"2025-03-19T10:44:37.450Z","dependency_job_id":null,"html_url":"https://github.com/antogno/powering","commit_stats":null,"previous_names":["antogno/powering"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/antogno/powering","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/antogno%2Fpowering","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/antogno%2Fpowering/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/antogno%2Fpowering/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/antogno%2Fpowering/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/antogno","download_url":"https://codeload.github.com/antogno/powering/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/antogno%2Fpowering/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":259495046,"owners_count":22866615,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":["bootstrap","codeigniter","crud","docker","mysql","php","smarty"],"created_at":"2025-03-20T05:36:09.232Z","updated_at":"2025-12-30T22:36:07.780Z","avatar_url":"https://github.com/antogno.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003e [!NOTE]\n\u003e This project was created as a technical test on behalf of [Powering](https://poweringsrl.it).\n\n# Powering\n\n\u003cp\u003e\n    \u003ca href=\"https://github.com/antogno/powering/blob/master/LICENSE\"\u003e\u003cimg src=\"https://img.shields.io/github/license/antogno/powering\" alt=\"License\"\u003e\u003c/a\u003e\n    \u003ca href=\"https://github.com/antogno/powering/commits\"\u003e\u003cimg src=\"https://img.shields.io/github/last-commit/antogno/powering\" alt=\"Last commit\"\u003e\u003c/a\u003e\n\u003c/p\u003e\n\nSimple management system in PHP for vehicles and branches of a company.\n\n\u003cp align=\"center\"\u003e\n    \u003cimg alt=\"Powering screenshot\" src=\"https://raw.githubusercontent.com/antogno/powering/master/assets/images/screenshot.png\" style=\"border-radius: 5px; box-shadow: rgba(0, 0, 0, 0.09) 0 3px 12px;\"\u003e\n\u003c/p\u003e\n\n---\n\n## Table of contents\n\n- [What is Powering?](#what-is-powering)\n- [Usage](#usage)\n- [License](#license)\n\n## What is Powering?\n\nPowering is a simple management system in PHP for vehicles and branches of a company. More specifically, Powering was created using the following tools and technologies:\n\n- Back-end:\n  - PHP 7.4 with [CodeIgniter 3.1.13](https://codeigniter.com/userguide3/general/welcome.html);\n  - MySQL.\n- Front-end:\n  - HTML with [Smarty 4.2.1](https://smarty.net);\n  - CSS with [Bootstrap 5.2.2](https://getbootstrap.com/docs/5.0/getting-started/introduction/);\n  - JavaScript.\n\nPowering also exists thanks to:\n\n- [Font Awesome 6.2.0](https://fontawesome.com).\n\n## Usage\n\n### Setup\n\nCopy the `.env.example` file in the root of the project, name it `.env` and change the values accordingly:\n\n```console\n$ cp .env.example .env\n```\n\nBuild the containers:\n\n```console\n$ docker compose up --build -d\n```\n\nInstall the Composer packages:\n\n```console\n$ composer install\n```\n\nCreate the database tables:\n\n```console\n$ docker exec -it powering-mysql mysql -u powering -p\n```\n\nYou'll be asked for the password, insert the one you put in your `.env` file, then:\n\n```console\nmysql\u003e USE powering;\n```\n\nCopy and paste the following statements and press `Enter`:\n\n```sql\nCREATE TABLE `filiale` (\n  `codice` int NOT NULL AUTO_INCREMENT,\n  `indirizzo` varchar(50) NOT NULL,\n  `citta` varchar(50) NOT NULL,\n  `cap` varchar(5) NOT NULL,\n  PRIMARY KEY (`codice`)\n);\n```\n\n```sql\nCREATE TABLE `automezzo` (\n  `codice` int NOT NULL AUTO_INCREMENT,\n  `codice_filiale` int NOT NULL,\n  `targa` varchar(7) NOT NULL,\n  `marca` varchar(50) NOT NULL,\n  `modello` varchar(50) NOT NULL,\n  PRIMARY KEY (`codice`),\n  CONSTRAINT `fk_filialeautomezzo` FOREIGN KEY (`codice_filiale`)\n  REFERENCES `filiale`(`codice`)\n  ON UPDATE CASCADE\n  ON DELETE CASCADE\n);\n```\n\nLastly, you can exit:\n\n```console\nmysql\u003e exit\n```\n\nThe app is now accessible at [localhost:8083](http://localhost:8083).\n\n## License\n\nPowering is licensed under the terms of the [Creative Commons Zero v1.0 Universal](https://github.com/antogno/powering/blob/master/LICENSE).\n\nFor more information, see the [Creative Commons website](https://creativecommons.org/publicdomain/zero/1.0/).\n\n## Links\n\n- [GitHub](https://github.com/antogno/powering)\n- [LinkedIn](https://linkedin.com/in/antonio-granaldi/)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fantogno%2Fpowering","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fantogno%2Fpowering","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fantogno%2Fpowering/lists"}