-
Install and execute Cassandra (tested with version 2.0)
-
Launch CQL shell and create the necessary Keyspace and Table:
$ cqlsh > CREATE KEYSPACE url WITH REPLICATION = { 'class' : 'SimpleStrategy', 'replication_factor' : 1 }; > USE url; > CREATE TABLE urltable (id text PRIMARY KEY, longUrl text); > exit -
Install and then launch SBT:
$ sbt -
Compile everything and run all tests:
> test -
Start the application:
> re-start -
Make the web service requests at http://localhost:8080 (configurable in the file Boot.scala)
-
Stop the application:
> re-stop
-
Notifications
You must be signed in to change notification settings - Fork 0
basic url shortener (for a job interview) made with scala, cassandra and the spray framework
License
jgpacker/url-shortener
Folders and files
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
Repository files navigation
About
basic url shortener (for a job interview) made with scala, cassandra and the spray framework
Resources
License
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published