Pirate Paste is a simple web application that allows users to share snippets of text with other users of the site. It was built to be used as an introduction to web development using Java and the Stripesframework.
The intent was to create a self contained, easy to work with project that can be used in a Java or web development class.
If the student understands the full stack here and what is going on than they will be in good shape for moving to a larger code base or a different web stack.
A few things to highlight:
- Stripes uses Java Server Pages so this will fit within any course using the Java EE Tutorial
- Dependency injection is achieved through using Google Guice
- Database access is done using Hibernate
- Maven is used for the build system
Pirate Paste uses Maven, so starting it up locally is as easy as opening up a shell in the root of the application and typing
$ mvn jetty:run
Open up a browser and navigate to http://localhost:8080
to get started.
To start working with the code in an IDE like Eclipse, check out the m2eclipse plugin. If using IntelliJ, you can import the project directly from the Start new project wizard.
Pirate Paste is licensed under the MIT License, so feel free to use this how you want.