chore: initial project scaffold with admin web, backend, desktop client, and deployment setup
Add monorepo structure for NexaVPN WireGuard control plane including: - .gitignore for node_modules, build artifacts, and environment files - README with project overview, monorepo layout, and quick start guide - Admin web UI with React, Vite, TypeScript, and nginx reverse proxy - API client with type definitions for users, devices, policies, gateways, and audit logs - Admin pages for dashboard, users, devices, policies, g
This commit is contained in:
84
docs/folder-structure.md
Normal file
84
docs/folder-structure.md
Normal file
@@ -0,0 +1,84 @@
|
||||
# Folder Structure
|
||||
|
||||
```text
|
||||
NexaVPN/
|
||||
├── README.md
|
||||
├── docs/
|
||||
│ ├── api.md
|
||||
│ ├── architecture.md
|
||||
│ ├── deployment.md
|
||||
│ ├── enrollment.md
|
||||
│ ├── folder-structure.md
|
||||
│ ├── gateway.md
|
||||
│ └── schema.md
|
||||
├── backend/
|
||||
│ ├── cmd/api/
|
||||
│ │ └── main.go
|
||||
│ ├── internal/
|
||||
│ │ ├── apiutil/
|
||||
│ │ ├── app/
|
||||
│ │ ├── audit/
|
||||
│ │ ├── auth/
|
||||
│ │ ├── config/
|
||||
│ │ ├── db/
|
||||
│ │ ├── device/
|
||||
│ │ ├── gateway/
|
||||
│ │ ├── httpserver/
|
||||
│ │ ├── ipam/
|
||||
│ │ ├── policy/
|
||||
│ │ ├── profile/
|
||||
│ │ ├── user/
|
||||
│ │ └── wireguard/
|
||||
│ ├── migrations/
|
||||
│ │ └── 000001_init.sql
|
||||
│ ├── seed/
|
||||
│ │ └── 001_seed.sql
|
||||
│ ├── Dockerfile
|
||||
│ └── go.mod
|
||||
├── admin-web/
|
||||
│ ├── src/
|
||||
│ │ ├── api/
|
||||
│ │ ├── app/
|
||||
│ │ ├── components/
|
||||
│ │ ├── features/
|
||||
│ │ │ ├── audit/
|
||||
│ │ │ ├── dashboard/
|
||||
│ │ │ ├── devices/
|
||||
│ │ │ ├── gateways/
|
||||
│ │ │ ├── policies/
|
||||
│ │ │ ├── settings/
|
||||
│ │ │ └── users/
|
||||
│ │ └── styles/
|
||||
│ ├── Dockerfile
|
||||
│ ├── index.html
|
||||
│ ├── package.json
|
||||
│ ├── tsconfig.app.json
|
||||
│ ├── tsconfig.json
|
||||
│ └── vite.config.ts
|
||||
├── desktop-client/
|
||||
│ ├── src/
|
||||
│ │ ├── App.tsx
|
||||
│ │ ├── main.tsx
|
||||
│ │ └── styles.css
|
||||
│ ├── src-tauri/
|
||||
│ │ ├── src/
|
||||
│ │ │ ├── lib.rs
|
||||
│ │ │ └── main.rs
|
||||
│ │ ├── build.rs
|
||||
│ │ ├── Cargo.toml
|
||||
│ │ └── tauri.conf.json
|
||||
│ ├── index.html
|
||||
│ ├── package.json
|
||||
│ ├── tsconfig.app.json
|
||||
│ ├── tsconfig.json
|
||||
│ └── vite.config.ts
|
||||
└── deploy/
|
||||
├── .env.example
|
||||
├── docker-compose.yml
|
||||
├── nginx/
|
||||
│ ├── admin.conf
|
||||
│ └── reverse-proxy.conf
|
||||
└── scripts/
|
||||
├── bootstrap-admin.sh
|
||||
└── gateway-entrypoint.sh
|
||||
```
|
||||
Reference in New Issue
Block a user