Skip to content

Latest commit

 

History

History
95 lines (61 loc) · 1.72 KB

README.md

File metadata and controls

95 lines (61 loc) · 1.72 KB

React + Vite

react js vite + swc

run dev

npm run vite:dev

build prod

npm run vite:build

This template provides a minimal setup to get React working in Vite with HMR and some ESLint rules.

Currently, two official plugins are available:

Backend go fiber

run dev

npm run fiber:dev

build prod

npm run fiber:build

Backend Nestjs

run dev

npm run nest:dev

build prod

npm run nest:build

run prod

npm run nest:prod

development and deploy ?

for development you need 2 to 3 terminal open, 1 for go apps, 1 for go nest (choose) want you want or need. 1 for react apps.

for deploy i am really tested, this 1 repo for 3 codebase 2 backend nestjs and gofiber. for build production with go fiber can use "go build -o server" or "bun fiber:build" file will create in root server, and then can run with "./server" if using nginx you can used this file

and for nestjs production build will be store at dist/server, so running with "bun nest:prod" before that run "bun nest:build"

Template

i build this in linux ubuntu, if your are windows user maybe have bug or any problem, cause i not tested in development in windows.

required

  • nodejs install
  • go install
  • npm

template

git clone https://github.com/naagaraa/goreact project-name

after this, remove remote or remove git

cd project-name
sudo rm -rd .git

create new init

git init