Skip to content

2060-io/dashboard-frontend

 
 

Repository files navigation

dashboard-front

Build from TailAdmin Next.js - Free Next.js Tailwind Admin Dashboard Template

tailwind nextjs admin template

Demo frontend with TailAdmin + openid + quarkus dashboard-backend Openid connect info is hard-coded in app.

Pre-requisites

  • A bash-compatible shell such as Git Bash
  • A nodeV20 such as Node
  • A yarn such as Yarn

Try the demo(s)

Once you have ensured you have the project prerequisites, you should clone the project using the command:

git clone https://github.com/2060-io/dashboard-frontend.git

Subsequently, bear in mind that you can work on the project in a development environment using the command:

yarn dev

Params

For the successful development of the project, it is essential to use the following variables. These are utilized by the dashboard to interact with the backend responsible for service deployment:

  • NEXT_PUBLIC_BACKEND_BASE_PATH: Variable pointing to the backend being used.
  • NEXT_PUBLIC_KEYCLOAK_URL: URL of the identity provider used (Keycloak in this case).
  • NEXT_PUBLIC_KEYCLOAK_CLIENT_ID: Client ID of the identity provider (Keycloak in this case).
  • NEXT_PUBLIC_KEYCLOAK_REDIRECT_URI: Redirect URL once authentication is successful.
  • NEXT_PUBLIC_KEYCLOAK_POST_LOGOUT_REDIRECT_URI: Redirect URL once logout is successful.
  • NEXT_PUBLIC_KEYCLOAK_PRES_REQ_CONF_ID: Additional variable used for the frontend to interact with the correct identity provider.
NEXT_PUBLIC_BACKEND_BASE_PATH=https://orchestrator_example.2060.io
NEXT_PUBLIC_KEYCLOAK_URL=https://keycloak_example.io/realms/2060io
NEXT_PUBLIC_KEYCLOAK_CLIENT_ID=frontend-example
NEXT_PUBLIC_KEYCLOAK_REDIRECT_URI=http://localhost:3000/
NEXT_PUBLIC_KEYCLOAK_POST_LOGOUT_REDIRECT_URI=http://localhost:3000/
NEXT_PUBLIC_KEYCLOAK_PRES_REQ_CONF_ID=email

About

Frontend of "Dashboard", the 2060.io Decentralized Trusted Service (DTS) Manager

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 97.3%
  • CSS 1.8%
  • Other 0.9%