/SpraySimpleServlet

a simple test to get Spray.io working with coursera class

Primary LanguageScala

Description

Simply based on https://github.com/spray/spray-template/tree/on_spray-can_1.3

A simple test to get just get videos and put videos.

Follow these steps to get started:

  1. Git-clone this repository.

     $ git clone git@github.com:robertrv/SpraySimpleServlet.git my-project
    
  2. Change directory into your clone:

     $ cd my-project
    
  3. Launch SBT:

     $ sbt
    
  4. Compile everything and run all tests:

     > test
    
  5. Start the application:

     > re-start
    
  6. Browse to http://localhost:8080

  7. Stop the application:

     > re-stop
    
  8. Start hacking on src/main/scala/com/example/MyService.scala

  9. For test hacking on src/test/scala/com/example/VideoSpec.scala