Skip to content

votabulary/API

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Votabulary API/UI Project

A project using Scala, Spray, AngularJS and Twitter Bootstrap (v3). The provided Bootstrap template is 'Jumbotron-Narrow'. Start changing the GUI using AngularJS. Implement your REST API in the Api trait.

Testing JSON with Curl

Note: This testing does not replace unit or integration testing! To test sending some JSON to your Rest API use: 'curl -d '' -H "Content-Type: application/json" http://localhost:9000/'

Run

Use 'sbt run' to run the server locally. SBT 0.12.3 max supported version on Heroku.

Run on Heroku

Use sbt-start-script plugin to create a 'start' script in the target folder. Run 'sbt clean compile stage' to create a script script.

Add a Procfile in the project directory and try to run the project using 'foreman'. If it works, the project can be uploaded to Heroku. See Heroku-Scala on Heroku site. The 'system.properties' file tells Heroku which Java version to use.

About

Combined API and UI for Votabulary

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors