https://github.com/catap/play-scalajs
https://github.com/catap/play-scalajs
Last synced: 3 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/catap/play-scalajs
- Owner: catap
- License: other
- Created: 2016-12-11T01:33:21.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2016-12-11T12:25:56.000Z (over 9 years ago)
- Last Synced: 2025-03-17T12:54:53.780Z (over 1 year ago)
- Language: Scala
- Size: 16.6 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README
- License: LICENSE
Awesome Lists containing this project
README
This is your new Play application with ScalaJS
==============================================
This project is based on https://github.com/playframework/play-scala
and shown how to add to play-scala a ScalaJS with jquery and boostrap onver webjars.
This file will be packaged with your application when using `activator dist`.
There are several demonstration files available in this template.
Controllers
===========
- HomeController.scala:
Shows how to handle simple HTTP requests.
- AsyncController.scala:
Shows how to do asynchronous programming when handling a request.
- CountController.scala:
Shows how to inject a component into a controller and use the component when
handling requests.
Components
==========
- Module.scala:
Shows how to use Guice to bind all the components needed by your application.
- Counter.scala:
An example of a component that contains state, in this case a simple counter.
- ApplicationTimer.scala:
An example of a component that starts when the application starts and stops
when the application stops.
Filters
=======
- Filters.scala:
Creates the list of HTTP filters used by your application.
- ExampleFilter.scala
A simple filter that adds a header to every response.