Skip to content

Learning-Dashboard/LD_admintool_frontend

Repository files navigation

React + Vite

This template provides a minimal setup to get React working in Vite with HMR and some ESLint rules.

Currently, two official plugins are available:

React Compiler

The React Compiler is not enabled on this template because of its impact on dev & build performances. To add it, see this documentation.

Expanding the ESLint configuration

If you are developing a production application, we recommend using TypeScript with type-aware lint rules enabled. Check out the TS template for information on how to integrate TypeScript and typescript-eslint in your project.

Simple Frontend Login

The admin tool now includes a simple frontend login gate.

  • Session is stored in sessionStorage (browser tab session only).
  • Default credentials are admin/admin.
  • You can override them using Vite environment variables:
VITE_ADMIN_TOOL_USER=your_user
VITE_ADMIN_TOOL_PASSWORD=your_password

Create a .env file at project root (ld_admintool_frontend/.env) with these values for local development.

Important: this is a convenience login at UI level. For real protection in production, add server-side auth (for example reverse-proxy basic auth or backend authentication).

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors