The studio is the web interface for the cosmo platform. It is used to manage the platform and to collaborate on GraphQL Federation. It is in connection with the control plane through the admin API to manage the platform.
Run the command below and replace all values in .env
with the correct values.
mv .env.local.example .env.local
Run the development server:
pnpm dev
Open http://localhost:3000 with your browser to see the result.
This project uses next/font
to automatically optimize and load Inter, a custom Google Font.
- Next.js- Frontend React Framework
- Tailwind CSS - Styling library
- Tremor - The React library to build dashboards fast
- T3 - Type-safe environment variables
We use Connect to unify the communication between all components of the cosmo platform. Connect is a framework build on top of gRPC and simplify code-generation and reuse between Studio
-> Controlplane
.
We want runtime envs for docker for each on prem customer. Therefore we have two files to achieve this. One is .env.docker that uses a placeholder env name and an entrypoint.sh script that replaces all placeholder env name with the correct one at runtime in the .next folder. This also requires us to SSR the studio.