{"id":21558521,"url":"https://github.com/alexolival/voicemod-challenge","last_synced_at":"2025-03-18T03:40:33.996Z","repository":{"id":100478728,"uuid":"462374374","full_name":"AlexOlival/voicemod-challenge","owner":"AlexOlival","description":null,"archived":false,"fork":false,"pushed_at":"2022-02-22T20:15:54.000Z","size":90,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-01-24T10:47:30.404Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"PHP","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/AlexOlival.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":"2022-02-22T16:09:35.000Z","updated_at":"2022-02-22T16:12:01.000Z","dependencies_parsed_at":"2023-05-15T03:00:15.146Z","dependency_job_id":null,"html_url":"https://github.com/AlexOlival/voicemod-challenge","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/AlexOlival%2Fvoicemod-challenge","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AlexOlival%2Fvoicemod-challenge/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AlexOlival%2Fvoicemod-challenge/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AlexOlival%2Fvoicemod-challenge/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/AlexOlival","download_url":"https://codeload.github.com/AlexOlival/voicemod-challenge/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244153327,"owners_count":20406995,"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-11-24T08:15:04.704Z","updated_at":"2025-03-18T03:40:33.990Z","avatar_url":"https://github.com/AlexOlival.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"## Setting up\nStart by cloning the project:\n\n` git clone git@github.com:AlexOlival/voicemod-challenge.git`\n\nThen, `cd` into the project directory and run the following command:\n\n`docker run --rm -u \"$(id -u):$(id -g)\" -v $(pwd):/var/www/html -w /var/www/html laravelsail/php81-composer:latest composer install --ignore-platform-reqs`\n\nThis will install PHP as well as the necessary dependencies in order to run the project.\nOnce that is done, copy the .env.example file to a .env file to define our environment variables:\n\n`cp .env.example .env`\n\nThis will allow Sail, Laravel's Docker CLI, to create a MySQL database named after the DB_DATABASE environment variable.\nWe can now prop up our containers:\n\n`./vendor/bin/sail up`\n\nAfter the command is done pulling and building the required images, run the following command (you may need a new tab):\n\n`./vendor/bin/sail artisan key:generate`\n\nAnd then:\n\n`./vendor/bin/sail artisan migrate --seed`\n\nWhich will set an application key and migrate and seed the database, respectively.\n\nThe application should now be running and exposed on `localhost`.\n\nThat's it!\n\n## Logging in\n\nUse the login endpoint as described in the `Voicemod Challenge.postman_collection.json` file included in this project's file structure.\n\nA user with the credentials of `email: admin@voicemod.com // password: password` is already created in the database.\n\n## Running tests\n\n`./vendor/bin/sail test`\n\n\n## Shutting down\n\nSimply use the Docker CLI or the UI as normal; or you can use Sail's command to gracefully shutdown:\n\n`./vendor/bin/sail down`\n\n## Potential issues\nPort collisions; ensure that no services are running and being exposed on port 3306 or 8080.\n\nFor any additional info you can also check the [Laravel Sail documentation](https://laravel.com/docs/9.x/sail).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falexolival%2Fvoicemod-challenge","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Falexolival%2Fvoicemod-challenge","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falexolival%2Fvoicemod-challenge/lists"}