Corev Host is the back-end and dashboard monorepo that powers the Corev-CLI tool. It provides:
- A RESTful API for managing dynamic configuration files (used by CLI)
- A dashboard built with Next.js
/bin # Entry point for corev-host
/packages
├── dashboard # Frontend (Next.js)
└── server # Backend (Express.js + MongoDB)
.eslint.config.mjs # Shared ESLint config
tsconfig.json # Shared TypeScript config
This project requires an .env file at the root of the repository to run the server.
You can create it manually or copy it from the provided .env.dist template:
cp .env.dist .envNext, open the file and update it with your own settings (like MongoDB URI and JWT secret).
This file is ignored in version control. You must create or copy it manually before starting the server.
npm installnpm run devThis will:
- Start the Express server (
packages/server) - Launch the Next.js dashboard (
packages/dashboard)
npm run build
npm run startnpm run testRuns backend tests under packages/server/tests.
npm run lint # Run ESLint
npm run format # Run Prettier
npm run format:all # Format with Prettier, then apply ESLint --fixThis is not a publishable package on its own. It is intended to be run as a host backend for Corev-CLI.
See CONTRIBUTING.md for contribution guidelines.
Corev-CLI is released under the MIT License.