Typesafe Activator

Templates

Showing of Templates (with the term )

Spray and Websocket interfaces to actors

Alain Fagot Béarez
Source
akka spray tcp websocket scala

Some applications need to expose an API that will not only handle synchronous requests, but also open a websocket to asynchronously push new notifications to the visualization client and accept plain socket channels from other information feeders. This tutorial will explain how to implement an application that offers three different interfaces to its Akka actors: HTTP request, plain socket and websocket.

Play Silhouette Postgres Async Seed

Kyle Unverferth
Source
seed auth oauth1 oauth2 credentials admin roles silhouette authentication scala play postgres async

A template Play 2.4 application which uses Silhouette 3.0 (http://silhouette.mohiva.com/) as an authentication library for local credentials, Facebook, Google, and Twitter. All users and sessions are persisted asynchronously thanks to postgres-async (https://github.com/mauricio/postgresql-async) and jdub-async (https://github.com/KyleU/jdub-async).

Hello Scaloid!

pocorall
Source
basics scaloid starter

Scaloid makes your Android code easy to understand and maintain. This very simple Scaloid application will get you started building and testing standalone Android apps. This app uses Scala 2.10.2.

HTML 5 Device Orientation with play, ember and websockets

Michal Janousek, Martin Zapletal
Source
scaladays2014 playframework emberjs scala websockets threejs

This template shows how simple it is to use latest technologies to build a nice modern reactive web application comprising of a Client-side JavaScript App built using EmberJS and WebSockets with WebGL ThreeJS, served from the Play 2 Framework written in Scala which works high velocity data from different sources using Play Iteratees and Akka.

Hello Slick! (Reactive Platform 15v09)

typesafehub
Source
reactive-platform basics slick starter reactive scala

Slick is Typesafe's modern database query and access library for Scala. It allows you to work with stored data almost as if you were using Scala collections while at the same time giving you full control over when a database access happens and which data is transferred. You can also use SQL directly. This tutorial will get you started with a simple standalone Scala application that uses Slick.

Play Slick with Typesafe IDs

VirtusLab
Source
advanced playframework scala slick

Slick (the Scala Language-Integrated Connection Kit) is a framework for type safe, composable data access in Scala. This template combines Play Framework with Slick and adds tools to use type-safe IDs for your classes so you can no longer join on bad id field or mess up order of fields in mappings. It also provides way to create service with methods (like querying all, querying by id, saving or deleting), for all classes with such IDs in just 4 lines of code.

POST Table Contents with jQuery-Ajax - Convert - Download Excel File

Jesus "Chuy" Lozano
Source
playframework scala excel datatables squeryl post jquery recursion apachepoi filedownload javascript

A ready to use Play Framework Application that allows you to search data at the server with Squeryl, download it to your browser, handle it locally with a jQuery Table plug-in, when you decide send it back to the server via a POST executed with jQuery-Ajax, have the server convert it to an Excel File and present it back to you for download

Reactive Stocks with Vaadin

mstahv
Source
akka vaadin java java8

An example setup how one can create a RIA UI in plain Java to Akka actor system. Project uses some new Java 8 features, inluding lambda optimized API from Akka 2.3, but it can relatively easily be modified for Java 7 as well.

Hello Scaladin!

tepi
Source
basics scaladin starter

Scaladin makes it easier to use the Vaadin Framework with Scala programming language. It's a wrapper library that provides a pure Scala API for Vaadin. This template provides a simple Hello world application written in Scaladin. This app uses Scala 2.10.1, Vaadin 7.1.12 and Scaladin 3.0.0.

Minimal Akka Scala Seed

Typesafe
Source
akka scala seed

This is a seed project which creates a basic build for an Akka with Scala application. It doesn't include a tutorial or demonstration, it's just a minimal project to start your own application from.

Image Processing & Classification Webservice Template

tegonal
Source
play playframework scala akka opencv weka mongo mongodb reactivemongo rest actors imageprocessing classification seed

A Play Framework webservice that analyses images and classifies the resulting feature vectors. The image processing is done using OpenCV (http://opencv.org/). For the classification the service uses the data mining framework Weka (http://www.cs.waikato.ac.nz/ml/weka/). The process is executed using akka. The resulting feature vectors and classes are stored in mongoDB (https://www.mongodb.org/) where image data is stored with GridFS. The project can be used as a basis for webservice based image processing and classification.

Akka and Spray

eigengo
Source
akka spray rest

Builds simple Actor-based REST server. Demonstrates the usage of Spray to build the RESTful API layer; as well as general structure of such REST actor-based applications. Includes tests for the API layer.

Hello Scala 2.11!

typesafehub
Source
basics scala starter

Scala is a general purpose programming language designed to express common programming patterns in a concise, elegant, and type-safe way. This very simple Scala application will get you started building and testing standalone Scala apps. This app uses Scala 2.11 and ScalaTest.

Akka and Cassandra

eigengo
Source
akka cassandra

This tutorial shows how to use Cassandra in an Akka application. It starts with the core concepts, then introduces the typeclasses pattern. Additionally, it focuses on write performance and concurrent writes to Cassandra.

The Eventual PlayFramework-AngularJS-Bootstrap-MongoDB Seed Project

angyjoe
Source
playframework angularjs bootstrap mongodb

The Eventual PlayFramework-AngularJS-Bootstrap-MongoDB Seed Project is a seed project that provides a [CRUD](http://en.wikipedia.org/wiki/Create,_read,_update_and_delete) implementation. It uses the [Play Framework](http://www.playframework.com/) and [MongoDB](http://www.mongodb.org/) on the back-end, and [AngularJS](http://angularjs.org/) and [Bootstrap](http://getbootstrap.com/) on the front-end. It is designed to underpin the development of future applications that adopt the same combination of technologies.

Akka Circuit Breaker with Java!

TNG Technology Consulting
Source
akka java

When talking to services you might want to make sure you play nice and lighten your load on them when they become unresponsive. The circuit breaker provided in the patterns package of Akka provides a nice way to achieve this. This template explains how to use it, and provides solutions for further problems that can arise.

Hello Slick! (Slick 2.0)

typesafehub
Source
basics slick starter scala

Slick is Typesafe's modern database query and access library for Scala. It allows you to work with stored data almost as if you were using Scala collections while at the same time giving you full control over when a database access happens and which data is transferred. You can also use SQL directly. This tutorial will get you started with a simple standalone Scala application that uses Slick.

Hello Scala!

tflander
Source
basics scala starter

Scala is a general purpose programming language designed to express common programming patterns in a concise, elegant, and type-safe way. This very simple Scala application will get you started building and testing standalone Scala apps. This app uses Scala 2.10 an updated ScalaTest, and the sbt-eclipse plug-in.

Hello Slick! (Slick 2.1)

typesafehub
Source
basics slick starter scala

Slick is Typesafe's modern database query and access library for Scala. It allows you to work with stored data almost as if you were using Scala collections while at the same time giving you full control over when a database access happens and which data is transferred. You can also use SQL directly. This tutorial will get you started with a simple standalone Scala application that uses Slick.

Boilerplay - a modern template application with all the latest toys

Kyle Unverferth
Source
seed auth oauth1 oauth2 credentials admin roles silhouette authentication scala play postgres async

A template Play 2.4 application which uses Silhouette 3.0 (http://silhouette.mohiva.com/) as an authentication library for local credentials, Facebook, Google, and Twitter. All users and sessions are persisted asynchronously thanks to postgres-async (https://github.com/mauricio/postgresql-async) and jdub-async (https://github.com/KyleU/jdub-async). A full admin suite is included.

Spark Streaming with Scala and Akka

Jacek Laskowski
Source
spark streaming akka scala

Apache Spark (http://spark.apache.org/) is a fast and general engine for large-scale data processing. This Typesafe Activator template demonstrates Apache Spark (http://spark.apache.org) for near-real-time data streaming with Scala and Akka using the Spark Streaming (http://spark.apache.org/docs/latest/streaming-programming-guide.html) extension.

Reactive Maps

Typesafe
Source
reactive-platform akka playframework scala reactive

This template and tutorial shows how the Typesafe Reactive Platform can be used to implement scalable, resilient, responsive event driven apps. The application shows the location of every user currently connected on a map, updated in real time. Akka clustering with distributed pub sub allows it to scale horizontally, we tested with 50000 simulated concurrent users, each sending position updates every second, on 10 nodes on Google Compute Engine. The in context tutorial guides you through design features and code of the app, and then gently introduces you to some of the more detailed topics with instructions for adding new features.

Hello Slick! (Slick 3.0)

typesafehub
Source
basics slick starter reactive scala

Slick is Typesafe's modern database query and access library for Scala. It allows you to work with stored data almost as if you were using Scala collections while at the same time giving you full control over when a database access happens and which data is transferred. You can also use SQL directly. This tutorial will get you started with a simple standalone Scala application that uses Slick.

Anonymous Chat

Anh Minh Nguyen
Source
akka playframework scala reactive websocket

This template and tutorial aims to show how to use the Play Framework to make a websocket producing messages for, and consuming messages from, an akka actor in the simplest way. The application itself is a barebone chatroom app where users are given numbers rather than being able to choose nicknames.

Hello Play Framework 2.3 (Scala Only)

typesafehub
Source
basics play scala starter

Play Framework is the High Velocity Web Framework for Java and Scala. Play is based on a lightweight, stateless, web-friendly architecture. Built on Akka, Play provides predictable and minimal resource comsumption (CPU, memory, threads) for highly-scalable applications. This app will teach you how to start building Play 2.1 apps with Scala.

Akka HTTP microservice example

Iterators
Source
akka-http akka reactive-platform reactive streams scala starter microservice

Simple (micro)service which demonstrates how to accomplish tasks typical for REST service using Akka HTTP. Project includes: starting standalone HTTP server, handling simple file-based configuration, logging, routing, deconstructing requests, unmarshalling JSON entities to Scala's case classes, marshaling Scala's case classes to JSON responses, error handling, issuing requests to external services, testing with mocking of external services.

Reactive Maps (Java 8)

Typesafe
Source
akka playframework java java8 reactive

This template and tutorial shows how the Typesafe Reactive Platform can be used to implement scalable, resilient, responsive event driven apps. The application shows the location of every user currently connected on a map, updated in real time. Akka clustering with distributed pub sub allows it to scale horizontally, we tested with 50000 simulated concurrent users, each sending position updates every second, on 10 nodes on Google Compute Engine. The in context tutorial guides you through design features and code of the app, and then gently introduces you to some of the more detailed topics with instructions for adding new features.

Hello Akka!

Typesafe
Source
basics akka java scala starter

Akka is a toolkit and runtime for building highly concurrent, distributed, and fault tolerant event-driven apps. This simple application will get you started building Actor based systems in Java and Scala. This app uses Akka 2.3, Java 6, Scala 2.11, JUnit, and ScalaTest.

Spark Streaming with Scala

jaceklaskowski
Source
spark streaming akka scala scaladays2014

Apache Spark (http://spark.apache.org/) is a fast and general engine for large-scale data processing. This Typesafe Activator template demonstrates Apache Spark (http://spark.apache.org) for data streaming with Scala and Akka using the Spark Streaming (http://spark.apache.org/docs/latest/streaming-programming-guide.html) extension.

Hello Play Framework (Scala Only)

typesafehub
Source
basics playframework scala starter

Play Framework is the High Velocity Web Framework for Java and Scala. Play is based on a lightweight, stateless, web-friendly architecture. Built on Akka, Play provides predictable and minimal resource comsumption (CPU, memory, threads) for highly-scalable applications. This app will teach you how to start building Play 2.2 apps with Scala.

Hello Play Framework (Java Only)

typesafehub
Source
basics playframework java starter

Play Framework is the High Velocity Web Framework for Java and Scala. Play is based on a lightweight, stateless, web-friendly architecture. Built on Akka, Play provides predictable and minimal resource comsumption (CPU, memory, threads) for highly-scalable applications. This app will teach you how to start building Play 2.1 apps with Java.

Hello Scala!

Typesafe
Source
basics scala starter

Scala is a general purpose programming language designed to express common programming patterns in a concise, elegant, and type-safe way. This very simple Scala application will get you started building and testing standalone Scala apps. This app uses Scala 2.10 and ScalaTest.

Minimal Scala Seed

Typesafe
Source
scala seed

This is a seed project which creates a basic build for a Scala application. It doesn't include a tutorial or demonstration, it's just a minimal project to start your own application from.

Minimal Akka Java Seed

Typesafe
Source
akka java seed

This is a seed project which creates a basic build for an Akka with Java application. It doesn't include a tutorial or demonstration, it's just a minimal project to start your own application from.

Minimal Java Seed

Typesafe
Source
java seed

This is a seed project which creates a basic build for a Java application. It doesn't include a tutorial or demonstration, it's just a minimal project to start your own application from.

Spark and Play

Alexandre Masselot
Source
spark play scala

Apache Spark (http://spark.apache.org/) is a fast and general engine for large-scale data processing. This Typesafe Activator template demonstrates Apache Spark (http://spark.apache.org) and Play serving REST.

Super Slick Play

mkelland
Source
basics play java scala starter slick

Slick (the Scala Language-Integrated Connection Kit) is a framework for type safe, composable data access in Scala. This template combines Play Framework with Slick for quick start Slick integrated database-backed web application development.

Akka Http with Websockets and Reactive Streams

Ordina
Source
akka akka-persistence akka-http reactive-streams streams websocket websockets reactive-platform scala

An Activator template to show how Akka Http can be used with Websockets, Akka Persistence and Reactive Streams. This template consists of two parts, a theoretical and a hands-on part. In the theoretical part you will learn about the techniques mentioned above by means of a fully working example. In the hands-on part you will test-drive your own flow.