{"id":15289079,"url":"https://github.com/zeropsio/recipe-scala","last_synced_at":"2025-06-14T19:02:11.524Z","repository":{"id":256080251,"uuid":"853061943","full_name":"zeropsio/recipe-scala","owner":"zeropsio","description":"Scala Backend + Play on Zerops.","archived":false,"fork":false,"pushed_at":"2024-11-22T05:08:20.000Z","size":48,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-03-15T22:48:41.081Z","etag":null,"topics":["backend","playframework","scala","zerops","zerops-recipe"],"latest_commit_sha":null,"homepage":"","language":"Scala","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/zeropsio.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}},"created_at":"2024-09-05T23:20:03.000Z","updated_at":"2024-11-22T05:08:23.000Z","dependencies_parsed_at":"2025-01-29T11:39:25.069Z","dependency_job_id":null,"html_url":"https://github.com/zeropsio/recipe-scala","commit_stats":null,"previous_names":["zeropsio/recipe-scala"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zeropsio%2Frecipe-scala","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zeropsio%2Frecipe-scala/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zeropsio%2Frecipe-scala/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zeropsio%2Frecipe-scala/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/zeropsio","download_url":"https://codeload.github.com/zeropsio/recipe-scala/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245217791,"owners_count":20579297,"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":["backend","playframework","scala","zerops","zerops-recipe"],"created_at":"2024-09-30T15:59:13.957Z","updated_at":"2025-03-24T05:43:11.767Z","avatar_url":"https://github.com/zeropsio.png","language":"Scala","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Zerops x Scala\n\nA bare-bones example of a Scala backend using the Play Framework. It provides a lightweight starting point for building web applications with minimal configuration. Zerops makes deploying and running Scala apps, a breeze.\n\n![Scala](https://github.com/zeropsio/recipe-shared-assets/blob/main/covers/svg/cover-scala.svg)\n\n\u003cbr /\u003e\n\n## Deploy on Zerops\nYou can either click the deploy button to deploy directly on Zerops, or manually copy the [import yaml](https://github.com/zeropsio/recipe-scala/blob/main/zerops-project-import.yml) to the import dialog in the Zerops app.\n\n[![Deploy on Zerops](https://github.com/zeropsio/recipe-shared-assets/blob/main/deploy-button/green/deploy-button.svg)](https://app.zerops.io/recipe/scala)\n\n\u003cbr/\u003e\n\n## Recipe features\n\n- Latest version of **Scala** \u0026 **JDK** running on **Zerops Ubuntu** Service.\n- Latest version of **SBT(Simple build tool)** with **Play** web framework.\n\n## Server backend\n\nBy default, the project uses the Pekko HTTP Server backend. To switch to the Netty Server backend, enable the `PlayNettyServer` sbt plugin in the `build.sbt` file.\nIn the `build.sbt` of this project, you'll find a commented line for this setting; simply uncomment it to make the switch.\nFor more detailed information, refer to the Play Framework [documentation](https://www.playframework.com/documentation/3.0.x/Server).\n\n\n\u003cbr/\u003e\n\n## Production vs. development\n\nThis recipe is ready for production as is, and will scale horizontally by adding more containers in case of high traffic surges. If you want to achieve the highest baseline reliability and resiliace, start with at least two containers (add `minContainers: 2` in recipe YAML in the `app` service section, or change the minimum containers in \"Automatic Scaling configuration\" section of service detail).\n\n\u003cbr/\u003e\n\n## Changes made over the default installation\n\nIf you want to modify your existing Scala backend to efficiently run on Zerops, there are no changes needed in the codebase on top of the standard installation, just add [zerops.yml](https://github.com/zeropsio/recipe-scala/blob/main/zerops.yml) to your repository.\n\n\u003cbr/\u003e\n\nNeed help setting your project up? Join [Zerops Discord community](https://discord.com/invite/WDvCZ54).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzeropsio%2Frecipe-scala","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fzeropsio%2Frecipe-scala","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzeropsio%2Frecipe-scala/lists"}