{"id":20791435,"url":"https://github.com/keploy/blog-website","last_synced_at":"2025-05-05T21:21:53.786Z","repository":{"id":206354725,"uuid":"716422346","full_name":"keploy/blog-website","owner":"keploy","description":"website for https://keploy.io/blog/","archived":false,"fork":false,"pushed_at":"2025-04-24T13:13:13.000Z","size":3307,"stargazers_count":14,"open_issues_count":15,"forks_count":50,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-24T14:28:49.469Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://keploy.io/blog/technology","language":"TypeScript","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/keploy.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":"2023-11-09T05:18:38.000Z","updated_at":"2025-04-24T13:13:17.000Z","dependencies_parsed_at":"2024-05-03T08:47:58.599Z","dependency_job_id":"d06d44b8-277d-440d-9008-0ceb917693a8","html_url":"https://github.com/keploy/blog-website","commit_stats":null,"previous_names":["keploy/blog-website"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/keploy%2Fblog-website","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/keploy%2Fblog-website/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/keploy%2Fblog-website/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/keploy%2Fblog-website/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/keploy","download_url":"https://codeload.github.com/keploy/blog-website/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252577120,"owners_count":21770735,"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-17T15:44:42.029Z","updated_at":"2025-05-05T21:21:53.766Z","avatar_url":"https://github.com/keploy.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Keploy's blog with Next.js and WordPress\n\n## Configuration\n\n### Step 1. Prepare your WordPress site\n\nFirst, you need a WordPress site. There are many solutions for WordPress hosting or you could use a Local by flywheel for setting up WordPress locally.\n\nOnce the site is ready, you'll need to install the [WPGraphQL](https://www.wpgraphql.com/) plugin. It will add GraphQL API to your WordPress site, which we'll use to query the posts. Follow these steps to install it:\n\n- Download the [WPGraphQL repo](https://github.com/wp-graphql/wp-graphql) as a ZIP archive.\n- Inside your WordPress admin, go to **Plugins** and then click **Add New**.\n- Click the **Upload Plugin** button at the top of the page and upload the WPGraphQL plugin.\n- Once the plugin has been added, activate it from either the **Activate Plugin** button displayed after uploading or from the **Plugins** page.\n\n#### GraphQL\n\nThe [WPGraphQL](https://www.wpgraphql.com/) plugin also gives you access to a GraphQL IDE directly from your WordPress Admin, allowing you to inspect and play around with the GraphQL API.\n\n### Step 2. Populate Content\n\nInside your WordPress admin, go to **Posts** and start adding new posts:\n\n- We recommend creating at least **2 posts**\n- Use dummy data for the content\n- Pick an author from your WordPress users\n- Add a **Featured Image**. You can download one from [Unsplash](https://unsplash.com/)\n- Fill the **Excerpt** field\n\nWhen you’re done, make sure to **Publish** the posts.\n\n\u003e **Note:** Only **published** posts and public fields will be rendered by the app\n\n### Step 3. Clone the repository\n\n```bash\ngit clone https://github.com/keploy/blog-website.git\ncd blog-website\n```\n\n### Step 4. Install dependencies\n\n```bash\nnpm install\n\n# or\n\nyarn install\n```\n\n### Step 5. Set up environment variables\nCopy the .env.local.example file in this directory to .env.local (which will be ignored by Git):\n\n```bash\ncp .env.local.example .env.local\n```\n\nThen open .env.local and set WORDPRESS_API_URL to be the URL to your GraphQL endpoint in WordPress. For example: https://Testapp.com/graphql.\n\nYour .env.local file should look like this:\n\n```bash\nWORDPRESS_API_URL=...\n```\n\n### Step 6. Run Next.js in development mode\n```bash\nnpm run dev\n\n# or\n\nyarn dev\n```\nYour blog should be up and running on http://localhost:3000! If it doesn't work, post on GitHub discussions.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkeploy%2Fblog-website","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkeploy%2Fblog-website","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkeploy%2Fblog-website/lists"}