{"id":16719570,"url":"https://github.com/addingama/onestopclick-web","last_synced_at":"2025-08-24T04:22:02.661Z","repository":{"id":150320656,"uuid":"96848742","full_name":"addingama/OneStopClick-Web","owner":"addingama","description":null,"archived":false,"fork":false,"pushed_at":"2017-08-16T01:26:19.000Z","size":5720,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-20T17:54:55.871Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":false,"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/addingama.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":"2017-07-11T03:55:33.000Z","updated_at":"2019-01-29T01:15:13.000Z","dependencies_parsed_at":"2023-04-25T00:46:50.905Z","dependency_job_id":null,"html_url":"https://github.com/addingama/OneStopClick-Web","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/addingama%2FOneStopClick-Web","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/addingama%2FOneStopClick-Web/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/addingama%2FOneStopClick-Web/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/addingama%2FOneStopClick-Web/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/addingama","download_url":"https://codeload.github.com/addingama/OneStopClick-Web/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243722641,"owners_count":20337236,"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":[],"created_at":"2024-10-12T21:43:52.198Z","updated_at":"2025-03-15T11:27:22.787Z","avatar_url":"https://github.com/addingama.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# OneStopClick\n\n## BACKEND\n\n### Server Requirements\n\n- PHP \u003e= 5.6.4\n- OpenSSL PHP Extension\n- PDO PHP Extension\n- Mbstring PHP Extension\n- Tokenizer PHP Extension\n- XML PHP Extension\n\n### Software Requirement\n\n- PHP Composer\n- XAMPP (Windows)\n- Postgres / MySql\n\n\n### Installation\n\n- Make sure to install PHP by installing XAMPP then install PHP Composer using installer.\n- Open terminal and go to `backend` directory\n- execute command `composer install`\n- after finish then copy file `.env-example` and rename to `.env`\n- make sure you update this section accordingly based on your database environment\n    ```\n    # This for Postgres\n    DB_CONNECTION=pgsql\n    DB_HOST=127.0.0.1\n    DB_PORT=5432\n    DB_DATABASE=osc\n    DB_USERNAME=postgres\n    DB_PASSWORD=root\n    ```\n    \n    ```\n    # This for mysql\n    DB_CONNECTION=mysql\n    DB_HOST=127.0.0.1\n    DB_PORT=3306\n    DB_DATABASE=osc\n    DB_USERNAME=root\n    DB_PASSWORD=\n    ```\n- If using mysql then update `app/config/database.php` for mysql section. Change `strict` value to `false`\n- create the database, named according to the `DB_DATABASE`\n- run this command on terminal `php artisan migrate`\n- run `php artisan db:seed` \n- run `php artisan serve --host 0.0.0.0` then open `localhost:8000` on the browser\n- to investigate the error log, run this command `php artisan tail`\n\n\n\n## FRONTEND\n\n### Software Requirement\n\n- Node.js\n- NPM\n\n\n### Installation\n\n- open terminal then go to `frontend` directory\n- run `npm install` to install dependencies\n- change the url on the file `frontend\\app\\configs\\backend.js` to your backend url, mostly `localhost:8000`\n- run `npm start` to start the frontend\n- open `localhost:8020` on the browser\n- If you want to access the frontend using ip then update `package.json` on the root folder and update start command to look like this\n    ``` \n    \"scripts\": {\n        \"start\": \"webpack-dev-server --hot --inline --colors --progress --host 172.19.11.126 --content-base --port 8020\"\n      },\n    ```\n    and make sure you update the IP with your current IP","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faddingama%2Fonestopclick-web","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Faddingama%2Fonestopclick-web","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faddingama%2Fonestopclick-web/lists"}