Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add fastify with typescript and tsup example #883

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

devlulcas
Copy link

Description

This is just an "iteration" over the current fastify example. It adds typescript and a bundler (TSUP). A friend of mine had a little bit of problem setting up Fastify + TS + Vercel, so I thought that an example pre-configured to just work would be a good idea.

The pnpm dev will just run tsup --watch and vercel dev at the same time. I find it very pleasant to use.

Demo URL

I have a more "complex" setup here: https://fastify-typescript-vercel-demo.vercel.app/ - github.com/devlulcas/fastify-typescript-vercel-demo

And I also have this exact same code deployed here: https://fastify-typescript.vercel.app/

Type of Change

  • New Example
  • Example updates (Bug fixes, new features, etc.)
  • Other (changes to the codebase, but not to examples)

New Example Checklist

  • 🛫 npm run new-example was used to create the example
  • 📚 The template wasn't used but I carefuly read the Adding a new example steps and implemented them in the example
  • 📱 Is it responsive? Are mobile and tablets considered?

Copy link

vercel bot commented Mar 13, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
app-dir-css-in-js ✅ Ready (Inspect) Visit Preview 💬 Add feedback Mar 13, 2024 6:10am
app-dir-i18n ✅ Ready (Inspect) Visit Preview 💬 Add feedback Mar 13, 2024 6:10am
app-dir-share-state ✅ Ready (Inspect) Visit Preview 💬 Add feedback Mar 13, 2024 6:10am
edge-functions-cookies ✅ Ready (Inspect) Visit Preview 💬 Add feedback Mar 13, 2024 6:10am
edge-functions-news ✅ Ready (Inspect) Visit Preview 💬 Add feedback Mar 13, 2024 6:10am
edge-functions-streams ✅ Ready (Inspect) Visit Preview 💬 Add feedback Mar 13, 2024 6:10am
edge-geolocation-country-block ✅ Ready (Inspect) Visit Preview 💬 Add feedback Mar 13, 2024 6:10am
edge-middleware-modify-request-header ✅ Ready (Inspect) Visit Preview 💬 Add feedback Mar 13, 2024 6:10am
edge-user-agent-based-rendering ✅ Ready (Inspect) Visit Preview 💬 Add feedback Mar 13, 2024 6:10am
example-reduce-image-bandwidth-usage ✅ Ready (Inspect) Visit Preview 💬 Add feedback Mar 13, 2024 6:10am
i18n ✅ Ready (Inspect) Visit Preview 💬 Add feedback Mar 13, 2024 6:10am
next-edge-api-route-hello-world ✅ Ready (Inspect) Visit Preview 💬 Add feedback Mar 13, 2024 6:10am
nodejs-api ✅ Ready (Inspect) Visit Preview 💬 Add feedback Mar 13, 2024 6:10am
solutions-combining-data-fetching-strategies ✅ Ready (Inspect) Visit Preview 💬 Add feedback Mar 13, 2024 6:10am
solutions-image-fallback ✅ Ready (Inspect) Visit Preview 💬 Add feedback Mar 13, 2024 6:10am
solutions-image-offset ✅ Ready (Inspect) Visit Preview 💬 Add feedback Mar 13, 2024 6:10am
solutions-loading-web-fonts ✅ Ready (Inspect) Visit Preview 💬 Add feedback Mar 13, 2024 6:10am
solutions-microfrontends ✅ Ready (Inspect) Visit Preview 💬 Add feedback Mar 13, 2024 6:10am
solutions-microfrontends-docs ✅ Ready (Inspect) Visit Preview 💬 Add feedback Mar 13, 2024 6:10am
solutions-pagination-with-ssg ✅ Ready (Inspect) Visit Preview 💬 Add feedback Mar 13, 2024 6:10am
solutions-reuse-responses ✅ Ready (Inspect) Visit Preview 💬 Add feedback Mar 13, 2024 6:10am
solutions-script-component-ad ✅ Ready (Inspect) Visit Preview 💬 Add feedback Mar 13, 2024 6:10am
solutions-script-component-strategies ✅ Ready (Inspect) Visit Preview 💬 Add feedback Mar 13, 2024 6:10am

Copy link

vercel bot commented Mar 13, 2024

@devlulcas is attempting to deploy a commit to the Vercel Examples Team on Vercel.

A member of the Team first needs to authorize it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant