Back to Playframework

Learning from Play Examples

documentation/manual/gettingStarted/LearningExamples.md

3.1.0-M91.6 KB
Original Source
<!--- Copyright (C) from 2022 The Play Framework Contributors <https://github.com/playframework>, 2011-2021 Lightbend Inc. <https://www.lightbend.com> -->

Learning from Play Examples

The play-samples GitHub repository offers Play examples for Java and Scala. Play has many features, so rather than pack them all into one project, we've organized many examples that each showcase a Play feature or demonstrate a common use case. Make sure you have verified the [[requirements for running Play|Requirements]]. You can either clone the play-samples GitHub repository or download its contents as zip file. Refer to the README.md file within each sample project directory to learn more about the example.

Note: The example projects are not configured for out of the box security.

If you are new to Play, we recommend following the Hello World tutorial for Java or Scala first:

  1. Play Java Hello World
  2. Play Scala Hello World

Note: When you run the tutorial application, it displays web pages with the same content and instructions contained in this documentation. The tutorial includes a deliberate mistake and having the [[documentation|HelloWorldTutorial]] and application pages open in different tabs or browsers allows you to consult the documentation for the fix when you encounter the error.