School project

D&D Encounter Library

A Laravel website where people can find, save and share encounters for Dungeons & Dragons.

Status: Published

  • Laravel
  • PHP
  • Blade
  • Livewire
  • SQLite
Visit project
Screenshot of D&D Encounter Library

Finding the next encounter.

Choosing an encounter is part of preparing a Dungeons & Dragons session. For this school project, I built a library where people can browse encounters, inspect the details and save ideas for later.

The project combines that familiar subject with the practical work of building a complete web application: accounts, forms, saved favourites, permissions and deployment.

From browsing to saving an idea.

Visitors can explore the library without an account. Signing in adds personal favourites and access to the features for contributing encounters.

Find an encounter

Search by title or description, then filter by type and difficulty to narrow down the active encounters.

Explore the details

Open an encounter to read more. Popular encounters and optional images provide other starting points for exploring the library.

Keep ideas for later

Save favourites to your account so you can return to encounters while preparing a session.

Taking part in the library.

Users can register, manage their account settings and maintain the encounters they have created. Creating an encounter becomes available after saving five favourites, making that requirement part of the contribution flow.

Authorization separates user and administrator actions and checks which encounters a user is allowed to manage.

Account and contributions

Users can manage their account and maintain the encounters they have created.

Access and ownership

Authorization separates user and administrator actions and checks which encounters a user is allowed to manage.

More than a collection of pages.

I built the application with Laravel, PHP, Blade and Livewire, using Eloquent to work with an SQLite database.

Beyond the interface, the project includes automated tests, static analysis and a manually deployed production environment. It gave me practice connecting the visible parts of an application to its data, access rules and release process.

Explore the encounter library.

Browse the published project to explore the encounters and see how the library works.

Visit D&D Encounter Library