{"id":21017513,"url":"https://github.com/rootz491/gatsby-learning","last_synced_at":"2025-08-12T17:35:09.065Z","repository":{"id":40433607,"uuid":"449826994","full_name":"rootz491/gatsby-learning","owner":"rootz491","description":"learning gatsby and stuff!","archived":false,"fork":false,"pushed_at":"2023-02-09T01:27:59.000Z","size":14611,"stargazers_count":0,"open_issues_count":56,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-09T14:06:19.996Z","etag":null,"topics":["basics","gatsbyjs","learning"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","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/rootz491.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}},"created_at":"2022-01-19T19:25:39.000Z","updated_at":"2023-04-11T15:43:59.000Z","dependencies_parsed_at":"2023-02-18T14:15:41.404Z","dependency_job_id":null,"html_url":"https://github.com/rootz491/gatsby-learning","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/rootz491%2Fgatsby-learning","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rootz491%2Fgatsby-learning/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rootz491%2Fgatsby-learning/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rootz491%2Fgatsby-learning/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rootz491","download_url":"https://codeload.github.com/rootz491/gatsby-learning/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243447642,"owners_count":20292452,"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":["basics","gatsbyjs","learning"],"created_at":"2024-11-19T10:19:41.428Z","updated_at":"2025-03-13T17:17:43.126Z","avatar_url":"https://github.com/rootz491.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# gatsby-learning\n\n\n## References\n\n*   [functions](https://www.gatsbyjs.com/docs/reference/functions/)\n\n    *   Creating API endpoints with Gatsby, very similar to Next.js, i.e. create `/src/api/` folder and create `hello.js` files in it. Then access the API endpoint at route `/api/hello/`.\n        Handle request and responses, [read more](https://www.gatsbyjs.com/docs/reference/functions/getting-started/).\n\n    *   [Routing](https://www.gatsbyjs.com/docs/reference/functions/routing/) in Gatsby functions\n        1.  static -\u003e `/src/api/hello.js`\n        2.  dynamic -\u003e `src/api/users/[id].js`\n        3.  splat -\u003e `src/api/files/[...].js`\n\n    *   \n\n*   [Gatsby-node API](https://www.gatsbyjs.com/docs/reference/config-files/gatsby-node/)\n\n    *   Gatsby-node API is bascically programmatically creating pages over some dynamic content/data.\n        This data can be fetched via GraphQL (or Hardcoded)\n\n*   \n\n\n\n\n\n## imp note\n\n1.  whenever installing `gatsby-plugin-mdx`, use this command:\n    ```sh\n    npm install gatsby-plugin-mdx @mdx-js/mdx @mdx-js/react\n    ```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frootz491%2Fgatsby-learning","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frootz491%2Fgatsby-learning","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frootz491%2Fgatsby-learning/lists"}