# A workspace in the same repository

A step of the [Cloud application](https://gradus.kazet.blog/tree/cloud-application) tree on Gradus, in the Frontend area: Second app, UI, browser tests.

Page: https://gradus.kazet.blog/tree/cloud-application/step/frontend-workspace

Turn the repository into a workspace with the service and the frontend as packages that share tooling, one lockfile and one CI.

One option of Repository layout: Same repository. The others: Second repository.

Usually comes after: [Where the frontend lives](https://gradus.kazet.blog/tree/cloud-application/step/choose-repo-layout).

## Prompt for your AI assistant

```
Convert this repository into a workspace: move the service into packages/api, create packages/web as an empty package for the frontend, share the formatter, linter and language tooling at the root, keep one lockfile and update the CI workflow and the Dockerfile for the new paths. Document the layout in docs/index.md.
```

Every step of the tree: https://gradus.kazet.blog/tree/cloud-application/llms.txt
