control-center/README.md
2022-11-17 16:21:54 +06:00

961 B

Control Center

Admin Dashboard

⚙️ Installation

  1. Add environment and configurations:

You can copy from examples like this one: _appConfig.json

  1. Install packages
    npm ci
    

Stage

Running in stage mode needs files:

  • .env.stage
  • src/assets/appConfig.stage.json
  • src/assets/authConfig.stage.json

🚀 Launch

  1. Start
    npm start
    
  2. Open localhost:4200

If you want to develop a library, then it's better to start building library separately:

npm run dev
npm run dev-libs

👩‍💻 Development

Console Utilities

  • ccSwitchLogging() - Enable/disable logging requests to the console
  • ccGetMyRoles() - Display your roles from the token