vite-plugin-pages
fastify-express
vite-plugin-pages | fastify-express | |
---|---|---|
14 | 9 | |
1,732 | 227 | |
- | 0.4% | |
8.1 | 6.0 | |
6 days ago | 19 days ago | |
TypeScript | JavaScript | |
MIT License | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
vite-plugin-pages
-
Saw this on twitter last night 😂😂
vite-plugin-pages, auto generates routes for Vue components in the src/pages directory.
-
KitaJs Survey - No runtime code, fast as bare metal and top level framework.
References to compare with something at all: * https://github.com/samchon/typescript-json (input transformer) * https://github.com/trpc/trpc (state-of-the-art end-to-end api) * https://github.com/spa5k/fastify-file-routes * https://github.com/hannoeru/vite-plugin-pages (frontend file-based routing)
-
Anyone tried nuxt3 for blogging and monitizing it?
Its more natural fit / easier to use for blog site. https://github.com/hannoeru/vite-plugin-pages is good too
- alternative to nuxt.js?
-
Can using nuxt simplify build?
I'm not sure what Nuxt adds. The vite-plugin-pages, has removed the only usecase I had for nuxt.
-
File system based routing with webpack
The good news is that, similar needs have been solved in the vite community with https://github.com/hannoeru/vite-plugin-pages, we just need to port it to webpack and https://github.com/unjs/unplugin got our back.
- Jak przejść z Webpack (Vue CLI) na Vite?
-
I created a Nuxt 3 module that automatically type your routes names and params. More in comments
Thanks! I'll maybe work on some vite plugin to make it work here too since there are plugins like https://github.com/hannoeru/vite-plugin-pages
-
Add vite-plugin-pages to SolidJS
Since official SolidJS starter template are vite-based we can easily use vite-plugin-pages to create automatic routing a.k.a file based routing with official solid-app-router package.
-
Is Nuxt 3 ready for production? Is anyone using it?
File-based routing
fastify-express
-
Migrate Your Express Application to Fastify
As mentioned in part 2 of this series, using the @fastify/express plugin is the quickest way to get your existing Express application working with Fastify. The plugin adds full Express compatibility to Fastify so that you can easily use any Express middleware — or even an entire Express application — with your Fastify instance, and it will just work with no changes required.
-
Advanced Fastify: Hooks, Middleware, and Decorators
Fastify also supports Express-style middleware but it requires you to install an external plugin such as @fastify/express or @fastify/middie. This eases migration from Express to Fastify, but it should not be used in greenfield projects in favor of hooks. Note that in many cases, you can find a native Fastify plugin that provides the same functionality as Express middleware.
- Help Converting Express Routes/Middleware/Controllers to Fastify
-
Vitejs SSR (Fastify, Vuejs)
Fastify Express
-
Do big companies use Express.js?
It's correct that fastify doesn't support middleware out of the box. But Nestjs and its fastify adapter support it. I think they are using this package: https://github.com/fastify/fastify-express
-
From Express to Fastify in Node.js
I've found that the fastify-express plugin makes migrating from Express to Fastify much easier: https://github.com/fastify/fastify-express. It has full support for Express middleware and routes, allowing you to migrate things in stages if you prefer.
-
Are you using promises and async / await safely in Node.js?
An excellent alternative to Express or Restify is the Fastify framework. It has full native support for async code and is in active development. There is also a fastify-express plugin available which can help ease your migration path away from Express.
-
Created my first library in typescript which gives express router a bit more juice
It seems like most of the important plugins have been built and available in the fastify ecosystem. Also with https://github.com/fastify/fastify-express you can use all the express middleware, and actually wrap your entire express application in fastify (obviously just cause you can, not cause you should)
-
Why you should drop ExpressJS in 2021
This framework is well maintained, and provides an official compatibility layer for Express to help you migrate your application.
What are some alternatives?
vite-plugin-vue-layouts - Vue layout plugin for Vite
Restify - The future of Node.js REST development
unplugin-auto-import - Auto import APIs on-demand for Vite, Webpack and Rollup
express-to-fastify-migration - Example applications demonstrating a migration from Express to Fastify.
unplugin-vue-components - 📲 On-demand components auto importing for Vue
fastify-openapi-glue - A plugin for the Fastify webserver to autogenerate a Fastify configuration based on a OpenApi(v2/v3) specification.
vite-quasar-api - spring boot jpa
express-async-errors - async/await support for ExpressJS
vite-ssg - Static site generation for Vue 3 on Vite
AdonisJs Framework - AdonisJS is a TypeScript-first web framework for building web apps and API servers. It comes with support for testing, modern tooling, an ecosystem of official packages, and more.
convue - convue is a plugin for vite based on vite and vue3 that gives you a set of experiences for rapid development projects, similar to nuxt and umi.js.
make-promises-safe - A node.js module to make the use of promises safe