GithubHelp home page GithubHelp logo

mattwaler / fastify-starter Goto Github PK

View Code? Open in Web Editor NEW
36.0 4.0 4.0 562 KB

A starter for fastify with Twig, Tailwind, and Alpine, and HTMX.

JavaScript 59.67% CSS 1.74% Twig 38.60%
fastify twig alpine htmx mongoose esbuild tailwindcss mongodb nodejs

fastify-starter's Issues

Does autoload inits Fastify or where is it defined?

Hey! First of all, thanks for creating this starter. It has been a great example to get going with fastify.

There's, however, one thing about your project that confuses me. I was trying to set up a server option, and I noticed that your project doesn't require fastify anywhere. In the fastify-autoload examples I have seen around fastify is initialized before the autoload module. e.g.: https://github.com/fastify/fastify-autoload#example

So how does this work exactly? Where exactly is fastify defined in the context of this project, and how can I set up options such as:

const fastify = require('fastify')({
  ignoreTrailingSlash: true
})

I feel like I'm missing something obvious but can't figure it out.

GCP Deploy

Hi,
I'm testing your repo as a port of a an aurliea js frontend calling a fastify bakend. Both projects are deployed on GCP. About half way thru thje port I decided to test to deploy to gcp and if fails. Any ideas on how to deploy your repo to GCP?
Thanks for your great contribution,
John

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.