nodeadminonline-backend
v1.0.4
Published
NodeAdmin backend server for Node.js hosting panel.
Downloads
4
Maintainers
Readme
NodeAdmin Backend
Backend service for the NodeAdmin hosting panel. This package provides the Express API, Prisma integration, PM2-facing orchestration services, mail handling, domain automation hooks, and the Socket.IO server used by the admin interface.
What is included
- Express API entrypoint in
src/index.ts - Prisma schema in
prisma/schema.prisma - Auth, domain, app, backup, SSL, FTP, settings, terminal, and monitoring services
- TypeScript build pipeline via
tsc
Requirements
- Node.js 20+
- MySQL or MariaDB
- A configured
.envfile
Environment highlights
The backend expects the standard NodeAdmin environment variables such as:
DATABASE_URLJWT_ACCESS_SECRETJWT_REFRESH_SECRETFRONTEND_URLAPI_URLINTERNAL_API_URLPORTCSRF_SECRET
Use the root .env.example in the main repository as the reference template.
Development
npm install
npm run prisma:generate
npm run devProduction build
npm install
npm run prisma:generate
npm run build
npm startDatabase sync
npx prisma db push --schema prisma/schema.prismaRepository
- Source: https://github.com/creatorsofcode/nodeadmin
- Contact: https://gravatar.com/creatorsofcode
- npm profile: https://www.npmjs.com/~creatorsofocode
Note
This package is part of the full NodeAdmin monorepo. For a complete installation with Apache, Next.js frontend, PM2, and deployment scripts, use the main repository documentation.
