MCPcopy Index your code
hub / github.com/ArcherGu/vite-react-nestjs-electron

github.com/ArcherGu/vite-react-nestjs-electron @main

Chat with this repo
repository ↗ · DeepWiki ↗ · + Follow
16 symbols 39 edges 12 files 0 documented · 0%
What it actually does AI analysis from the code graph — generated when you open this
loading…
README
<img width="400" src="https://github.com/ArcherGu/vite-react-nestjs-electron/raw/main/logo.png" alt="logo">

⚡Vite + React + Electron + Nestjs Template

This template is used to build vite + electron + nestjs projects. Build with Doubleshot, crazy fast!

🎉 Doubleshot is a whole new set of tools to help you quickly build and start a node backend or electron main process.

This is a react version of the template, you can also use:

Introduce

This is a template based on my repo: fast-vite-electron. In the main process, I integrated nestjs. In the main process, you can build your code just as you would write a nestjs backend. Desktop clients built from this template can quickly split the electron when you need to switch to B/S.

Features

How to use

  • Click the Use this template button (you must be logged in) or just clone this repo.
  • In the project folder:

```bash # install dependencies pnpm install

# run in developer mode pnpm dev

# build pnpm build ```

Note for PNPM

This project requires pnpm as the package manager. In order to use with pnpm, you'll need to adjust your .npmrc to use any one the following approaches in order for your dependencies to be bundled correctly (ref: #6389):

node-linker=hoisted
public-hoist-pattern=*
shamefully-hoist=true

Relative

My blog post:

Extension points exported contracts — how you extend this code

Window (Interface)
(no doc)
src/preload/index.d.ts

Core symbols most depended-on inside this repo

getTime
called by 1
src/main/app.service.ts
electronAppInit
called by 1
src/main/index.ts
bootstrap
called by 1
src/main/index.ts
sendMsg
called by 1
src/render/App.tsx
handler
called by 0
src/preload/electron.ts
constructor
called by 0
src/main/app.controller.ts
handleSendMsg
called by 0
src/main/app.controller.ts
App
called by 0
src/render/App.tsx

Shape

Class 6
Function 6
Method 3
Interface 1

Languages

TypeScript100%

Modules by API surface

src/main/app.controller.ts4 symbols
src/render/App.tsx3 symbols
src/main/app.service.ts3 symbols
src/main/index.ts2 symbols
src/main/app.module.ts2 symbols
src/preload/index.d.ts1 symbols
src/preload/electron.ts1 symbols

For agents

$ claude mcp add vite-react-nestjs-electron \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact