A simple application used for survey purpose
Groovy JavaScript
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
fixtures
grails-app
test
web-app
.gitignore
README.md
application.properties

README.md

Run the app in development mode

To load the sample data(fixtures), please use the following command line: grails -DtestData= run-app e.g. grails -DtestData=simpleSurvey run-app

How to open pages as admin

Please open url at http://localhost:8080/surveyApp/survey/login?pwd= You can get the inital password in Bootstrap.groovy, and update it at runtime, by login first, then go http://localhost:8080/surveyApp/settings page.

To logout, go http://localhost:8080/surveyApp/survey/logout

This is different than the initial accessToken based auth design. The flag is put in HTTP session, so you don't have to pass the token everywhere.

Load initital data

http://localhost:8080/surveyApp/survey/login?pwd= then http://localhost:8080/surveyApp/survey/load/