{"id":18468168,"url":"https://github.com/wearelucid/nuxt-netlify-functions-example","last_synced_at":"2025-04-08T10:32:22.380Z","repository":{"id":37768358,"uuid":"168841723","full_name":"wearelucid/nuxt-netlify-functions-example","owner":"wearelucid","description":"Nuxt.js example for running Netlify functions locally in a dev environment and as a generated static site deployed to Netlify","archived":false,"fork":false,"pushed_at":"2023-03-01T08:57:56.000Z","size":3773,"stargazers_count":70,"open_issues_count":11,"forks_count":19,"subscribers_count":5,"default_branch":"master","last_synced_at":"2025-03-23T10:51:10.680Z","etag":null,"topics":["axios","netlify","netlify-functions","netlify-lambda","nuxt-axios","nuxt-demo","nuxt-proxy","nuxtjs","vuejs"],"latest_commit_sha":null,"homepage":"https://nuxt-netlify-functions-example.netlify.com/","language":"Vue","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/wearelucid.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2019-02-02T14:47:09.000Z","updated_at":"2024-04-04T19:38:06.000Z","dependencies_parsed_at":"2023-02-14T16:46:09.037Z","dependency_job_id":null,"html_url":"https://github.com/wearelucid/nuxt-netlify-functions-example","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/wearelucid%2Fnuxt-netlify-functions-example","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wearelucid%2Fnuxt-netlify-functions-example/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wearelucid%2Fnuxt-netlify-functions-example/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wearelucid%2Fnuxt-netlify-functions-example/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/wearelucid","download_url":"https://codeload.github.com/wearelucid/nuxt-netlify-functions-example/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247824092,"owners_count":21002205,"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":["axios","netlify","netlify-functions","netlify-lambda","nuxt-axios","nuxt-demo","nuxt-proxy","nuxtjs","vuejs"],"created_at":"2024-11-06T10:05:13.124Z","updated_at":"2025-04-08T10:32:21.708Z","avatar_url":"https://github.com/wearelucid.png","language":"Vue","funding_links":[],"categories":["Vue"],"sub_categories":[],"readme":"# nuxt-netlify-functions-example\n\n[![Netlify Status](https://api.netlify.com/api/v1/badges/ae375e95-eb24-46ed-95d3-a8591add95bc/deploy-status)](https://app.netlify.com/sites/nuxt-netlify-functions-example/deploys)\n[![GitHub Actions](https://img.shields.io/github/workflow/status/wearelucid/nuxt-netlify-functions-example/End-to-end%20tests?label=build\u0026logo=github\u0026style=for-the-badge)](https://github.com/wearelucid/nuxt-netlify-functions-example)\n\n\u003e Nuxt.js example for running Netlify functions locally in a dev environment and as a generated static site deployed to Netlify.\n\n\u003e Heavily inspired by the [official guide](https://functions-playground.netlify.com/) and [this example](https://github.com/stefanjudis/service-party).\n\n## Demo\n\nLive demo can be found [here](https://nuxt-netlify-functions-example.netlify.com/).\n\n## Testing functions locally\n\nThanks to the [Netlify Dev](https://www.netlify.com/products/dev/) command in the Netlify CLI (`yarn global add netlify-cli`), you can test your functions locally with no build step involved!\n\nAfter building the app and running `netlify dev` or `ntl dev`, you can test the functions locally by hitting the endpoint http://localhost:8888/.netlify/functions/\u003cfunction-name\u003e\n\n## Build Setup\n\n```bash\n# Use Node version specified in nvmrc\n$ nvm use\n\n# Install dependencies\n$ yarn\n\n# Serve Nuxt app and Netlify functions at localhost:8888\n$ netlify dev\n\n# Generate static project\n$ yarn generate\n```\n\n## Running Tests\n\nTests use the Netlify CLI to run the serverless functions locally. You'll probably be prompted to login with your Netlify account.\n\n```bash\n# Serve Nuxt app and Netlify functions at localhost:8888\n$ netlify dev\n\n# Run this command in another terminal\n$ yarn test\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwearelucid%2Fnuxt-netlify-functions-example","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwearelucid%2Fnuxt-netlify-functions-example","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwearelucid%2Fnuxt-netlify-functions-example/lists"}