Skip to content

Brahma-Vue merges Rust concurrency with JS simplicity. Write Express-style code and run it at native speed faster than NUXT-JS API

Notifications You must be signed in to change notification settings

hyper-forge/brahma-vue

Repository files navigation

Brahma-Firelight + Vue + TypeScript + Vite

This template provides a minimal setup to get Vue working in Vite with HMR and Brahma-Firelight (A Rust based high speed server writen on top of TOKIO & HYPER)

Get Started!!

npm install
npm run build
npm run dev

To set API proxy during dev (vite.config.ts/js)

import { defineConfig } from "vite";
import vue from "@vitejs/plugin-vue";

// https://vitejs.dev/config/
export default defineConfig({
  plugins: [vue()],
  server: {
    proxy: {
      "/api": {
        target: "http://localhost:2000", // your backend port
        changeOrigin: true,
        secure: false,
      },
    },
  },
});

Brahma-Firelight The Ultra Fast Rust based JavaScript Framework Read Docs

About

Brahma-Vue merges Rust concurrency with JS simplicity. Write Express-style code and run it at native speed faster than NUXT-JS API

Topics

Resources

Stars

Watchers

Forks