{"id":20198670,"url":"https://github.com/eclipsesource/theia-cloud-lab","last_synced_at":"2025-07-12T19:39:02.838Z","repository":{"id":62907522,"uuid":"561811323","full_name":"eclipsesource/theia-cloud-lab","owner":"eclipsesource","description":null,"archived":false,"fork":false,"pushed_at":"2023-02-25T22:27:44.000Z","size":778,"stargazers_count":5,"open_issues_count":16,"forks_count":2,"subscribers_count":4,"default_branch":"main","last_synced_at":"2025-04-10T11:26:54.696Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"epl-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/eclipsesource.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-11-04T14:44:33.000Z","updated_at":"2023-11-21T13:00:52.000Z","dependencies_parsed_at":"2024-11-14T07:15:20.156Z","dependency_job_id":null,"html_url":"https://github.com/eclipsesource/theia-cloud-lab","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/eclipsesource/theia-cloud-lab","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eclipsesource%2Ftheia-cloud-lab","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eclipsesource%2Ftheia-cloud-lab/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eclipsesource%2Ftheia-cloud-lab/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eclipsesource%2Ftheia-cloud-lab/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/eclipsesource","download_url":"https://codeload.github.com/eclipsesource/theia-cloud-lab/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eclipsesource%2Ftheia-cloud-lab/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":265044473,"owners_count":23702941,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-14T04:33:00.568Z","updated_at":"2025-07-12T19:39:02.483Z","avatar_url":"https://github.com/eclipsesource.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# theia-cloud-lab\n\n## Getting Started\n\n### Install Dependencies:\n\nRun the following command at project root folder to install all the dependencies:\n\n```bash\nnpm install\n```\n\n### Set Environment Variables:\n\nNext.js uses environment variables to store sensitive information. To get started, create a file named `.env.local` in the root folder of the project. This file is already added to `.gitignore` so it will not be pushed to the repo. In this file, add the following variables:\n\n```\nNEXT_PUBLIC_MINIKUBE_IP=\"192.168.49.2\"\n```\n\nChange the NEXT_PUBLIC_MINIKUBE_IP address to the IP address of your minikube cluster. You can get this by running `minikube ip` in your terminal.\n\n### Initialize Database:\n\nWe will be using QuestDB as our time-series database. This database is responsible for storing all the data that we will be collecting for statistics.\n\nTo run a development instance of QuestDB, run the following command in a new terminal:\n\n```bash\ndocker run -p 9000:9000 \\\n-p 9009:9009 \\\n-p 8812:8812 \\\n-p 9003:9003 \\\nquestdb/questdb:6.6.1\n```\n\nVisit [http://localhost:9000](http://localhost:9000) to view the QuestDB console.\n\nTo get started with QuestDB, head over to this link: https://questdb.io/docs/guide/\nThen, run the development server:\n\n### Start the Development Server:\n\nRun the following command at project root folder to start up the development server:\n\n```bash\nnpm run dev\n```\n\nOpen [http://localhost:3000](http://localhost:3000) with your browser to see the result.\n\nThe `pages/api` directory is mapped to `/api/*`. Files in this directory are treated as [API routes](https://nextjs.org/docs/api-routes/introduction) instead of React pages.\n\n## Deployment\n\n### Using Docker\n\n1. Install Docker on your machine.\n2. To build your container, run the following command on terminal from the root folder of the project(where the Dockerfile is): `docker build -t nextjs-docker .`\n3. Run your container locally for testing purposes: `docker run -p 3000:3000 nextjs-docker`\n4. Additionally, you can view your images created with `docker images`\n\n## Development Dependencies\n\n### Prettier\n\nThis repo has Prettier formatter as development dependency. Please install the appropriate extension for your editor from this link, and set it prioritize the config file in root folder of the project. Lastly, make sure to set auto-format on save. https://prettier.io/docs/en/editors.html#visual-studio-code\n\n### Tailwind CSS\n\nFor all our CSS needs, we will be using TailwindCSS. To get started on how to use TailwindCSS, head over to this link for Core Concepts: https://tailwindcss.com/docs/utility-first\n\n### React-Query and React-Query Dev Tools\n\nReact-Query is a library that helps us manage our data fetching and caching. To get started, head over to this link: https://tanstack.com/query/v4/docs/overview\n\n### Next.js Telemetry\n\nRun this command in root folder of the project to opt-out of Next.js telemetry: `npx next telemetry disable`\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feclipsesource%2Ftheia-cloud-lab","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Feclipsesource%2Ftheia-cloud-lab","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feclipsesource%2Ftheia-cloud-lab/lists"}