react js vite + swc
npm run vite:dev
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:
- @vitejs/plugin-react uses Babel for Fast Refresh
- @vitejs/plugin-react-swc uses SWC for Fast Refresh
npm run fiber:dev
npm run fiber:build
npm run nest:dev
npm run nest:build
npm run nest:prod
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"
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.
- nodejs install
- go install
- npm
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