{"id":47353286,"url":"https://github.com/drunomics/lupus-decoupled-nextjs-example","last_synced_at":"2026-04-07T23:31:07.164Z","repository":{"id":258323172,"uuid":"870600873","full_name":"drunomics/lupus-decoupled-nextjs-example","owner":"drunomics","description":"Lupus Decoupled Next.js Demo","archived":false,"fork":false,"pushed_at":"2025-12-23T09:36:50.000Z","size":273,"stargazers_count":0,"open_issues_count":3,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2026-03-18T13:35:18.742Z","etag":null,"topics":["lupus-decoupled"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/drunomics.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2024-10-10T10:37:23.000Z","updated_at":"2025-12-23T09:36:47.000Z","dependencies_parsed_at":"2024-12-09T03:26:58.739Z","dependency_job_id":"e6c5c597-21a6-4028-9e50-cbd17a4e0fe1","html_url":"https://github.com/drunomics/lupus-decoupled-nextjs-example","commit_stats":null,"previous_names":["drunomics/lupus-decoupled-nextjs-demo","drunomics/lupus-decoupled-nextjs-example"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/drunomics/lupus-decoupled-nextjs-example","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/drunomics%2Flupus-decoupled-nextjs-example","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/drunomics%2Flupus-decoupled-nextjs-example/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/drunomics%2Flupus-decoupled-nextjs-example/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/drunomics%2Flupus-decoupled-nextjs-example/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/drunomics","download_url":"https://codeload.github.com/drunomics/lupus-decoupled-nextjs-example/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/drunomics%2Flupus-decoupled-nextjs-example/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31533823,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-07T16:28:08.000Z","status":"ssl_error","status_checked_at":"2026-04-07T16:28:06.951Z","response_time":105,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["lupus-decoupled"],"created_at":"2026-03-18T01:22:28.541Z","updated_at":"2026-04-07T23:31:07.122Z","avatar_url":"https://github.com/drunomics.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Lupus Decoupled Next.js Demo\n\n## Try-it\n\n[Launch it on Gitpod](https://gitpod.io/new/#DP_PROJECT_NAME=lupus_decoupled,DP_ISSUE_BRANCH=1.x,DP_PROJECT_TYPE=project_module,DP_MODULE_VERSION=1.x,DP_PATCH_FILE=,FRONTEND_REPOSITORY=https%3A%2F%2Fgithub.com%2Fdrunomics%2Flupus-decoupled-nextjs-demo,CUSTOM_ELEMENTS_VERSION=3.*,DP_INSTALL_PROFILE=standard/https://github.com/drunomics/lupus-decoupled-project/tree/main) with a Lupus Decoupled Drupal backend.\n\n## Implementation status\n\n### Supported features\n- Rendering custom elements via components\n- Rendering a tree of custom elements\n- Forwarding /some-page requests to the backend and rendering results\n- Breadcrumbs\n- Metatags\n- Messages\n- Drupal error pages\n- Drupal redirect support (301, 302, 303, 307, 308)\n- **Menu support** - Main menu integrated in layout with support for nested items\n- **App Router support** - Full Next.js App Router compatibility with streaming and server components\n\n### Not or not fully supported\n- Drupal forms\n- Frontend login\n- Custom layouts\n- Views (component needs to be ported)\n- Drupal tabs (component needs to be ported)\n\n## Development\n\n### Gitpod testing options\n\nWhen working on this template, things can be tested best on gitpod by modifying the launch link:\n\n**Testing frontend repository branches**\nUse the following link:\n\n```\nhttps://gitpod.io/new/#DP_PROJECT_NAME=lupus_decoupled,DP_ISSUE_BRANCH=1.x,DP_PROJECT_TYPE=project_module,DP_MODULE_VERSION=1.x,DP_PATCH_FILE=,FRONTEND_REPOSITORY=https%3A%2F%2Fgithub.com%2Fdrunomics%2Flupus-decoupled-nextjs-demo,FRONTEND_BRANCH=\u003c\u003cBRANCH\u003e\u003e,CUSTOM_ELEMENTS_VERSION=3.*,DP_INSTALL_PROFILE=standard/https://github.com/drunomics/lupus-decoupled-project/tree/main\n```\n\n## Try it online\n\n### Option 1: Try it Online with Stackblitz\n\nYou can quickly try this project online using Stackblitz:\n\n[Open in Stackblitz](https://stackblitz.com/github/remix-run/react-router/tree/main/examples/basic?file=README.md)\n\n1. After launching the project, create a `.env` file in the root directory.\n2. Paste the following environment variable into the `.env` file:\n\n```bash\nNEXT_PUBLIC_DRUPAL_BASE_URL=\"https://8080-drunomics-lupusdecouple-xeqrf6qqxj3.ws-eu116.gitpod.io\"\n```\n\n3. Save the file and continue working with the project directly in Stackblitz.\n\n### Option 2: Run Locally\n\nTo run the project on your local machine:\n\n1. **Clone the Repository**:\n   ```bash\n   git clone git@github.com:drunomics/lupus-decoupled-nextjs-demo.git\n   ```\n\n2. **Create a `.env` File**:\n   - If a `.env` file doesn't already exist in the root directory, create one.\n   - Then, add the following environment variable:\n\n   ```bash\n   NEXT_PUBLIC_DRUPAL_BASE_URL=\"https://8080-drunomics-lupusdecouple-xeqrf6qqxj3.ws-eu116.gitpod.io\"\n   ```\n\n3. **Install Dependencies**: Navigate to the project directory and install the necessary dependencies:\n\n```bash\nnpm install\n```\n\n4. **Run the Project**: Start the development server:\n\n```bash\nnpm run dev\n```\n\n5. **View the Project**: Open your browser and navigate to `http://localhost:3000` to view the application\n\n## Manual setup steps\n\nFor local setup you'll get some network error until base URLs are set right. To do so:\n\n1. Set the Drupal base URL(`NEXT_PUBLIC_DRUPAL_BASE_URL`) in `env.file`, e.g. `https://drunomics-lupusdecouple-xeqrf6qqxj3.ws-eu116.gitpod.io/`\n   When using a Drupal gitpod/DrupalPod as a backend, make sure to set your environment to \"Shared\" via the workspace options menu, as found in the dashhboard at https://gitpod.io. That way the frontend can connect to it.\n2. Test it. Best add some content nodes and some menu-items pointing to them. /node/1 of the backend is available under /node/1 in the frontend. You should see some naked frontend with menus, breadcrumbs \u0026 basic node-content (body field) working.\n\n\n## Setup\n\nMake sure to install the dependencies:\n\n```bash\n# npm\nnpm install\n\n# yarn\nyarn install\n\n# pnpm\npnpm install\n```\n\n## Development Server\n\nStart the development server on http://localhost:3000\n\n```bash\nnpm run dev\n```\n\n## Production\n\nBuild the application for production:\n\n```bash\nnpm run build\n```\n\nLocally preview production build:\n\n```bash\nnpm run preview\n```\n\nCheck out the [deployment documentation](https://nuxt.com/docs/getting-started/deployment) for more information.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdrunomics%2Flupus-decoupled-nextjs-example","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdrunomics%2Flupus-decoupled-nextjs-example","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdrunomics%2Flupus-decoupled-nextjs-example/lists"}