Skip to content

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

Notifications You must be signed in to change notification settings

hyper-forge/brahma-react

Repository files navigation

Brahma-Firelight + React + TypeScript + Vite

This template provides a minimal setup to get React 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 react from "@vitejs/plugin-react";

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

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

About

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

Topics

Resources

Stars

Watchers

Forks

Contributors 2

  •  
  •