vitedge
rakkas-realworld
vitedge | rakkas-realworld | |
---|---|---|
6 | 3 | |
723 | 11 | |
- | - | |
0.0 | 0.0 | |
3 months ago | 12 months ago | |
JavaScript | TypeScript | |
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.
vitedge
-
Vite + Vite Plugin SSR vs NextJS
Today, Nextjs is not only cool guy in the town, A lot of meta frameworks exist like Astro, Remix. There are a few ssr frameworks also build over Vite - such as - https://vitedge.js.org/, https://rakkasjs.org/, https://github.com/frandiox/vite-ssr,
-
What is the best solution for a server-side rendered Vue 3 application with Cloudflare?
Given this situation, I think there are three solutions for my application: 1. Nuxt 3, which has support for rendering via Cloudflare Workers. 2. Cloudflare Pages, which recently got support for SSR via Workers. 3. Vitedge, which seems like a plugin for the Vite build system that targets Cloudflare Workers.
-
Three Cool Rakkas Features that Next.js Lacks
Note that we're not talking about Cloudflare Pages, which Next.js supports as a static deployment target, but actual server-rendered (well, technically speaking “edge-rendered”) React applications with support for API routes. This is a rare feature among React frameworks (I'm only aware of Flareact and Vitedge).
-
What do you guys prefer to use with Laravel. React, Vue or Blade ;
Vue isn't incompatible with caching, but it admittedly does need a fancier cache that runs workers: https://github.com/frandiox/vitedge is one example of such an edge-optimized thing.
-
Your goto setup for new projects that require SPA functionality
I love Inertia, but it's useless for SSR. They've had an "early access" SSR for ages now, but I don't have faith it'll be ready any day soon. Separate API and UI projects are the way to go, the UI built with something like Vitedge for edge-side rendering.
- Vitedge: SSR at the edge using Vite and Cloudflare Workers
rakkas-realworld
-
Three Cool Rakkas Features that Next.js Lacks
Check out the updated Rakkas RealWorld Demo to see how the same full-stack application is deployed on Vercel, Netlify, Cloudflare Workers, and Node; all connected to the same Postgres database hosted on Supabase. In serverless versions, authentication requests are proxied to the Node server because CPU time limit may be too low to allow secure password hashing. They also use the Prisma data proxy for accessing the database while the Node server uses Prisma directly.
-
Rakkas: Next.js alternative powered by Vite
There is also a RealWorld port (Rakkas implementation of the RealWorld specification), a simple but complete fullstack application demonstrating how to approach building a REST API, accessing your database (via Prisma), handling authentication, testing, and more.
-
Rakkas can now power fullstack RealWorld
It also served as a test bed for establishing Rakkas best practices: Session management, authentication, unit testing, API testing, end-to-end testing, data validation, database access, and many other things that need to be done in a real world application has been tackled. See the github repo for a more in depth explanation of how everything works.
What are some alternatives?
cloudflare-worker-router - A super lightweight router (1.0K) with middleware support and ZERO dependencies for Cloudflare Workers.
Next.js - The React Framework
electron-vite-tailwind-starter - This Starter utilizes Electron, Vite and Tailwindcss in combination. It trys to adhare best practices.
rakkasjs - Bleeding-edge React framework powered by Vite
cloudflare-worker-router-template - A wrangler template for a super lightweight router (3.6 kB) with middleware support and ZERO dependencies for CloudFlare Workers, inspired by express.js syntax.
parcel - The zero configuration build tool for the web. 📦🚀
petite-vue - 6kb subset of Vue optimized for progressive enhancement
realworld - "The mother of all demo apps" — Exemplary fullstack Medium.com clone powered by React, Angular, Node, Django, and many more
Google-Drive-Index - Index Google Drive Files Easily and Free
webpack - A bundler for javascript and friends. Packs many modules into a few bundled assets. Code Splitting allows for loading parts of the application on demand. Through "loaders", modules can be CommonJs, AMD, ES6 modules, CSS, Images, JSON, Coffeescript, LESS, ... and your custom stuff.
adapter-cloudflare-cache - Temporary SvelteKit adapter for Cloudflare Workers to enable caching
Snowpack - ESM-powered frontend build tool. Instant, lightweight, unbundled development. ✌️ [Moved to: https://github.com/FredKSchott/snowpack]