Last active
July 16, 2016 02:24
-
-
Save calimaborges/d472ee5cb13bccd1f48b10f2fd97ead8 to your computer and use it in GitHub Desktop.
Revisions
-
calimaborges revised this gist
Jul 16, 2016 . 1 changed file with 2 additions and 4 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -2,10 +2,8 @@ import static spark.Spark.*; public class App { public static void main( String[] args ) { String strPort = System.getenv("PORT") != null ? System.getenv("PORT") : "4567"; port(Integer.valueOf(strPort)); get("/", (req, res) -> "Hello World"); -
calimaborges created this gist
Jul 15, 2016 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,13 @@ package carlosborges.taskify; import static spark.Spark.*; public class App { public static void main( String[] args ) { String strPort = System.getenv("PORT") != null ? System.getenv("PORT") : "4567"; port(Integer.valueOf(strPort)); get("/", (req, res) -> "Hello World"); } } This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1 @@ web: java -jar target/taskify-api.jar