{"id":22355773,"url":"https://github.com/zbo14/fastify-nuxt-vercel","last_synced_at":"2026-04-11T05:32:57.767Z","repository":{"id":94588710,"uuid":"397714473","full_name":"zbo14/fastify-nuxt-vercel","owner":"zbo14","description":"📐 A GitHub template for a Fastify / Nuxt app that deploys to Vercel","archived":false,"fork":false,"pushed_at":"2021-11-08T03:10:47.000Z","size":207,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"develop","last_synced_at":"2026-01-03T16:33:11.424Z","etag":null,"topics":["fastify","nuxt","nuxtjs","serverless","tailwindcss","vercel","vue","vuejs"],"latest_commit_sha":null,"homepage":"https://fastify-nuxt-vercel.vercel.app","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/zbo14.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,"zenodo":null}},"created_at":"2021-08-18T19:31:07.000Z","updated_at":"2021-11-08T03:10:50.000Z","dependencies_parsed_at":"2023-03-07T11:01:17.570Z","dependency_job_id":null,"html_url":"https://github.com/zbo14/fastify-nuxt-vercel","commit_stats":null,"previous_names":[],"tags_count":0,"template":true,"template_full_name":null,"purl":"pkg:github/zbo14/fastify-nuxt-vercel","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zbo14%2Ffastify-nuxt-vercel","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zbo14%2Ffastify-nuxt-vercel/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zbo14%2Ffastify-nuxt-vercel/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zbo14%2Ffastify-nuxt-vercel/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/zbo14","download_url":"https://codeload.github.com/zbo14/fastify-nuxt-vercel/tar.gz/refs/heads/develop","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zbo14%2Ffastify-nuxt-vercel/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31669850,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-10T17:19:37.612Z","status":"online","status_checked_at":"2026-04-11T02:00:05.776Z","response_time":54,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["fastify","nuxt","nuxtjs","serverless","tailwindcss","vercel","vue","vuejs"],"created_at":"2024-12-04T14:07:57.407Z","updated_at":"2026-04-11T05:32:57.759Z","avatar_url":"https://github.com/zbo14.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# fastify-nuxt-vercel\n\nGitHub template for a [Fastify](https://www.fastify.io/) + [Nuxt](https://nuxtjs.org/) app that deploys to [Vercel](https://vercel.com)!\n\nThis project is intended for apps that require server-side rendering and/or business logic. If you don't have these requirements, it's better to stick with a [Jamstack](https://jamstack.org/) framework like [Gatsby](https://www.gatsbyjs.com/), [Gridsome](https://gridsome.org/), or the like.\n\n[Tailwind CSS](https://tailwindcss.com/) and Google Fonts included.\n\n## Build Setup\n\n```bash\n# install dependencies\n$ yarn install\n\n# serve with hot reload at localhost:3000\n$ yarn dev\n\n# build for production and launch server\n$ yarn build\n$ yarn start\n\n# generate static project\n$ yarn generate\n```\n\n## Deployment\n\nYou can deploy via the Vercel dashboard *or* install the [CLI](https://vercel.com/cli) and run `vercel --prod`.\n\nMake sure the code repository is linked to the Vercel project so pushes automatically trigger deploys.\n\n## Environment Variables\n\nSee `.env.example`. In development, the values are parsed from `.env` (gitignored). In production, you can specify the environment variables in the Vercel dashboard.\n\n### `COOKIE_SECRET`\n\nThe secret used to sign cookies (default: none).\n\nYou can run `yarn secret:generate` to write a pseudo-random secret to `.env`.\n\n### `SERVER_PORT`\n\nThe port the Fastify server listens on (default: 3000).\n\n## Special Directories\n\nYou can create the following extra directories, some of which have special behaviors. Only `pages` is required; you can delete them if you don't want to use their functionality.\n\n### `api`\n\nContains (1) a `common` module with predefined and custom helper functions, and (2) a `routes` subdirectory with your API routes.\n\nTo clear the example API routes, run `yarn routes:clear`.\n\n### `assets`\n\nThe assets directory contains your uncompiled assets such as Stylus or Sass files, images, or fonts.\n\nMore information about the usage of this directory in [the documentation](https://nuxtjs.org/docs/2.x/directory-structure/assets).\n\n### `components`\n\nThe components directory contains your Vue.js components. Components make up the different parts of your page and can be reused and imported into your pages, layouts and even other components.\n\nMore information about the usage of this directory in [the documentation](https://nuxtjs.org/docs/2.x/directory-structure/components).\n\n### `layouts`\n\nLayouts are a great help when you want to change the look and feel of your Nuxt app, whether you want to include a sidebar or have distinct layouts for mobile and desktop.\n\nMore information about the usage of this directory in [the documentation](https://nuxtjs.org/docs/2.x/directory-structure/layouts).\n\n### `pages`\n\nThis directory contains your application views and routes. Nuxt will read all the `*.vue` files inside this directory and setup Vue Router automatically.\n\nMore information about the usage of this directory in [the documentation](https://nuxtjs.org/docs/2.x/get-started/routing).\n\n### `plugins`\n\nThe plugins directory contains JavaScript plugins that you want to run before instantiating the root Vue.js Application. This is the place to add Vue plugins and to inject functions or constants. Every time you need to use `Vue.use()`, you should create a file in `plugins/` and add its path to plugins in `nuxt.config.js`.\n\nMore information about the usage of this directory in [the documentation](https://nuxtjs.org/docs/2.x/directory-structure/plugins).\n\n### `static`\n\nThis directory contains your static files. Each file inside this directory is mapped to `/`.\n\nExample: `/static/robots.txt` is mapped as `/robots.txt`.\n\nMore information about the usage of this directory in [the documentation](https://nuxtjs.org/docs/2.x/directory-structure/static).\n\n### `store`\n\nThis directory contains your Vuex store files. Creating a file in this directory automatically activates Vuex.\n\nMore information about the usage of this directory in [the documentation](https://nuxtjs.org/docs/2.x/directory-structure/store).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzbo14%2Ffastify-nuxt-vercel","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fzbo14%2Ffastify-nuxt-vercel","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzbo14%2Ffastify-nuxt-vercel/lists"}