ode-explorer
v2.6.3
Published
Edifice Explorer
Readme
Open Digital Education Explorer
Explorer App
Getting Started
Install
Without Docker, you need to generate a package.json
node scripts/package.cjsInstall all dependencies.
pnpm installDev
pnpm devServer Options
You can configure Vite Proxy with backend routes needed for development inside vite.config.ts
const proxy = {
"/example": proxyObj,
}Absolute Imports
You should use absolute imports in your app
Replace ../components/* by ~/components/*Configure your paths tsconfig.json:
Telling TypeScript how to resolve import path:
"paths": {
"~/*": ["./src/*"],
"~app/*": ["./src/app/*"]
}Lint
Detect ESlint issues
pnpm lintPrettier
Format code
pnpm formatLighthouse
LHCI will check if your app respect at least 90% of these categories: performance, a11y, Best practices and seo
pnpm lighthousePre-commit
When committing your work, pre-commit will start pnpm lint-staged:
lint-staged starts lint + prettier
pnpm pre-commitBuild
TypeScript check + Vite Build
pnpm buildPreview
pnpm previewLicense
This project is licensed under the AGPL-3.0 license.
