FirePreview is a desktop application built with Wails (Go) and React-TypeScript. It provides a modern interface for previewing and managing firebase firestore.
You can configure the project by editing wails.json. More information about the project settings can be found
here: https://wails.io/docs/reference/project-config
firepreview/
├── main.go
├── app.go
├── wails.json
├── go.mod
│
├── internal/
│ └── database/
│ ├── client.go
│ ├── collections.go
│ ├── documents.go
│ └── types.go
│
└── frontend/
├── wailsjs/ # auto-generated, do not edit
└── src/
├── main.tsx
├── router/
│ └── ProtectedRoute.tsx
├── pages/
│ ├── auth/
│ ├── home/
│ └── collection/
├── components/
│ ├── ui/ # shadcn, do not edit
│ ├── PageHeader.tsx
│ ├── CodeBlock.tsx
│ └── QueryInput.tsx
└── store/
├── connectionStore.ts
└── explorerStore.ts
- Go 1.21 or higher
- Node.js 16+ and npm/yarn
- Wails CLI:
go install github.com/wailsapp/wails/v2/cmd/wails@latest
- Clone the repository
- Install dependencies:
npm install
To run in live development mode, run wails dev in the project directory. This will run a Vite development
server that will provide very fast hot reload of your frontend changes. If you want to develop in a browser
and have access to your Go methods, there is also a dev server that runs on http://localhost:34115. Connect
to this in your browser, and you can call your Go code from devtools.
To build a redistributable, production mode package, use wails build.
wails dev- Run in development mode with hot reloadwails build- Build production executablenpm run dev- Start Vite dev servernpm run build- Build frontend assets