{"id":26044341,"url":"https://github.com/gghf1/vinylopia","last_synced_at":"2026-04-10T12:31:59.639Z","repository":{"id":278815293,"uuid":"936859309","full_name":"GGHF1/vinylopia","owner":"GGHF1","description":"Vinylopia is a community-driven marketplace designed for vinyl collectors, traders, and music lovers. Inspired by Discogs, Vinylopia allows users to browse, list, and purchase vinyl records directly from one another.","archived":false,"fork":false,"pushed_at":"2025-03-02T19:10:31.000Z","size":2854,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-02T19:27:59.916Z","etag":null,"topics":["api","blade","buy-sell","css","discogs-api","javascript","laravel","marketplace","music","php","spotify-api","spotify-web-api","trade","vinyl","vinyl-records"],"latest_commit_sha":null,"homepage":"","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/GGHF1.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":"2025-02-21T20:16:26.000Z","updated_at":"2025-03-02T19:10:35.000Z","dependencies_parsed_at":"2025-02-21T21:54:24.200Z","dependency_job_id":null,"html_url":"https://github.com/GGHF1/vinylopia","commit_stats":null,"previous_names":["gghf1/vinylopia"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GGHF1%2Fvinylopia","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GGHF1%2Fvinylopia/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GGHF1%2Fvinylopia/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GGHF1%2Fvinylopia/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/GGHF1","download_url":"https://codeload.github.com/GGHF1/vinylopia/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":242437687,"owners_count":20128090,"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":["api","blade","buy-sell","css","discogs-api","javascript","laravel","marketplace","music","php","spotify-api","spotify-web-api","trade","vinyl","vinyl-records"],"created_at":"2025-03-07T18:18:23.211Z","updated_at":"2026-04-10T12:31:59.574Z","avatar_url":"https://github.com/GGHF1.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Vinylopia: The Marketplace for Vinyl Lovers\n\nVinylopia is a community-driven marketplace designed for vinyl collectors, traders, and music lovers. Inspired by Discogs, Vinylopia allows users to browse, list, and purchase vinyl records directly from one another. Whether you’re hunting for rare editions, limited releases, or simply looking to expand your collection, Vinylopia brings together a passionate community of music enthusiasts to buy, sell, and trade vinyl records.\n\n## Status\n**Project Status**: Active.\n\n## Installation Steps\n\n### 1. Clone/Download the repository\n\nClone or Download as ZIP this repository to your PC.\n\n### 2. Install PHP/SQL/Composer\n\nMake sure to install:\n\n1. [PHP](https://www.php.net/downloads.php)\n2. SQL Database, for instance, [MySQL](https://dev.mysql.com/downloads/installer/).\n3. [Composer](https://getcomposer.org/download/) for managing PHP dependencies.\n\n### 3. Configure SSL Certificate for API Requests\n\nThe application makes API calls that require SSL verification. Follow these steps to ensure API requests work correctly:\n\n#### Download the certificate bundle\n1. Download the latest CA certificate bundle from: https://curl.se/ca/cacert.pem\n2. Save it to a location on your system (e.g. ```C:/php/extras/ssl/cacert.pem``` or in your PHP installation directory)\n3. Edit your `php.ini` file and add these lines: ```curl.cainfo = \"PATH_TO_FILE/cacert.pem\"``` Replace `PATH_TO_FILE` with the actual path where you saved the file.\n4. Restart your web server if it's already running\n\n### 4. Create the Database\n\nCreate an account for your MySQL DB and CREATE DATABASE vinylopiaDB.\n```bash\ncreate database vinylopiaDB\n```\n\n### 5. Configure Environment Variables\n\n#### 5.1. Database Configuration\n\nCreate and edit a ```.env``` file according to your DB and Spotify API settings.\nYou can take the code from ```.env.example``` file.\nAfter creating ```.env``` file, replace DB information with yours. For example:\n```\nDB_CONNECTION=mysql\nDB_HOST=127.0.0.1\nDB_PORT=3306\nDB_DATABASE=vinylopiaDB\nDB_USERNAME=root\nDB_PASSWORD=1234\n```\n\n#### 5.2. Spotify API Configuration\n\nTo integrate with the Spotify API, you'll need to create a Spotify Developer account and register your application to get your Client ID and Client Secret. Here is how you do it:\n1. Create a Spotify Developer Account\n   - Go to the [Spotify Developer Dashboard](https://developer.spotify.com/dashboard/applications).\n   - Log in with your existing Spotify account or register a new account, if you don't have one.\n   - After logging in, you will be redirected to Spotify Developer Dashboard.\n\n2. Create a New Application.\n   - On the Developer Dashboard, click on the \"Create App\" button.\n   - A form will appear where you need to provide the following details:\n     1) App name;\n     2) App Description;\n     3) Website (optional);\n     4) Redirect URI (for example: http://127.0.0.1:8000/);\n     5) In a section \"Which API/SDKs are you planning to use?\" click on \"Web API\".\n   - After filling out the details, click \"Save\" button to create the application.\n\n3. Obtain Your Client ID and Client Secret.\n   - After creating the application, you will be redirected to the application page where you need to click on \"Settings\" button.\n   - On the settings page you will see your \"Client ID\" and \"View client secret\" button, which opens \"Client secret\".\n\n4. Add the following lines to your `.env` file, replacing the placeholders with your actual **Spotify Client credentials**. \n```\nSPOTIFY_CLIENT_ID=\"your_id\"\nSPOTIFY_CLIENT_SECRET=\"your_secret\"\n```\n\n### 6. Install the Necessary Dependencies\n\nEnter this command to install all necessary dependencies:\n```bash\ncomposer install\n```\n\n### 7. Create Storage Link\n\nTo create a symbolic link from ```public/storage``` to ```storage/app/public```, where user avatar images (and other files) will be stored, run the following command:\n```bash\nphp artisan storage:link\n```\n\n### 8. Create the avatars Folder\n\nAfter creating the storage link, you may need to create the ```avatars``` folder inside ```public/storage``` and ```storage/app/public``` directories if it doesn't exist.   \n\nCorrect paths should look as follows: ```public/storage/avatars``` and ```storage/app/public/avatars```\n\n### 9. Generate Application Key\n\nLaravel requires an application key to be set. You can generate it by running:\n```bash\nphp artisan key:generate\n```\n### 10. Migrate the Database\n\nAfter configuring the ```.env``` file, run the following commands to create the necessary tables in your database and populate them with vinyl information:\n```bash\nphp artisan migrate\nphp artisan migrate --seed\n```\n\n### 11. Serve the Application\n\nStart the PHP server by running:\n```bash\nphp artisan serve\n```\nThis command will launch the server at ```http://127.0.0.1:8000/``` by default.\n\n## License\n\nThe Laravel framework is open-sourced software licensed under the [MIT license](https://opensource.org/license/MIT).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgghf1%2Fvinylopia","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgghf1%2Fvinylopia","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgghf1%2Fvinylopia/lists"}