Get Started
Play is a web framework with deep roots in the Scala ecosystem. It is built to be fast by leveraging Akka at its foundation. To get started, refer to Getting Started with Play Framework, the Play Framework Tutorial, the documentation, and the official tutorials. Once you're ready to begin coding, you should start with a template project like play-scala-seed.g8.
Documentation
- Anatomy of a Play Application
- Play samples
- *Working with Public Assets
- StackOverflow: How to Serve Static Assets
- HTTP Routing
Deploy
Once you are ready to deploy your app, you should be aware of a few changes you will need to make in order for your app to work properly.
Allowed Hosts Filter
Play allows you to configure hosts which can reach your service. While developing locally, you will likely not be accepting traffic from any external IP addresses. Once deployed, though, you will find that Play will fail unless you have specified which IP addresses can reach your service. For more information, refer to the documentation.