Skip to content

Latest commit

 

History

History

chapter_1

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Dungeon inmate manager

Setup

Install all the dependencies via npm install and run via npm start

Models

The dungeon model is defined in models and contains the standart logic to load and modify following ActiveRecord loosly.

Middelware

Middleware defined in middleware is used to load the dungeon on request and inject it in the request to be used.

Views

The view is defined in views and contains the form as well as display logic for the dungeon status.

Routes

The route to display the view is defined in routes along with the form endpoint to modify the dungeon state.