diff options
| author | Teddy Wing | 2015-12-08 02:09:57 -0500 |
|---|---|---|
| committer | Teddy Wing | 2015-12-08 02:09:57 -0500 |
| commit | c570d3a2a2aa5a368309f5a6a61d75fcfc7323d7 (patch) | |
| tree | a15d4bcf212614056d7e8bf6c77d028a35b0379e | |
| parent | 8caaf977631f807e7994677a04174c37cb8d0da8 (diff) | |
| download | Ruby-Web-Sessions-Exercise-c570d3a2a2aa5a368309f5a6a61d75fcfc7323d7.tar.bz2 | |
Add README.md
Add information about the exercise, what you're supposed to do, how to
access the session, and information about installing, running the server
and testing.
| -rw-r--r-- | README.md | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/README.md b/README.md new file mode 100644 index 0000000..c21a4dd --- /dev/null +++ b/README.md @@ -0,0 +1,36 @@ +Session Exercise +================ + +This is an exercise designed to help illustrate how sessions can facilitate +authentication on the web. + +Fill in the route blocks in `app.rb` such that POSTing the accepted user +credentials to '/' log the user in using the session, and display the logged in +template. + +With `Rack::Session::Cookie`, the session is accessible via a hash called +`session`. + + +## Installing +Run + + $ sh setup.sh + +to install the required gem dependencies. + + +## Running +Run + + $ make + +to start up the development server and see changes to the app. + + +## Testing +Run + + $ rake + +to run the app's tests. |
