https://github.com/tonyvu2014/vocabulary-test
A test exercise and its APIs to measure English vocabulary size written in Groovy
https://github.com/tonyvu2014/vocabulary-test
grails groovy mysql vocabulary-test
Last synced: 2 months ago
JSON representation
A test exercise and its APIs to measure English vocabulary size written in Groovy
- Host: GitHub
- URL: https://github.com/tonyvu2014/vocabulary-test
- Owner: tonyvu2014
- Created: 2016-02-21T09:23:20.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2018-04-15T08:18:17.000Z (over 8 years ago)
- Last Synced: 2025-03-15T04:51:40.036Z (over 1 year ago)
- Topics: grails, groovy, mysql, vocabulary-test
- Language: Groovy
- Homepage:
- Size: 2.87 MB
- Stars: 2
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# vocabulary-test
A simple test to measure English vocabulary size written in Groovy
ENVIRONMENT
-----------
- jdk 1.7
- grails 2.4.4
- groovy 2.4.5
RUN THE TEST
------------
To run the test, clone and open the project on Eclipse with Groovy and Grails plugin.
Go to the file WordTest.groovy under src/groovy/com/wordcraft/test, right-click and Run As Groovy Script.
In the console, you will be asked with a series of question whether you know a certain word. Just answer y for yes and n for no.
After the test, you will be given your estimated vocabulary size.
_Note: the word list currently has only 5000 entries, so this test is meant for beginners at the moment._
RUN THE API APP
---------------
The app is configured to run on HSQLDB on DEV and TEST environment and run MySQL on PROD environment.
- Download and set up MySQL in your environment and create database **wordcraft** for the app.
- Update Config.groovy under production environment the MySQL username and password that you set up.
- From the project folder, run **.\grailsw run-app** to start the app on DEV environment or **.\grailsw prod run-app** to start in PROD enviroment.