Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/nicholasjhenry/wordstock
Spell Checking Service
https://github.com/nicholasjhenry/wordstock
example professional-development
Last synced: 8 days ago
JSON representation
Spell Checking Service
- Host: GitHub
- URL: https://github.com/nicholasjhenry/wordstock
- Owner: nicholasjhenry
- Created: 2013-09-12T18:24:33.000Z (about 11 years ago)
- Default Branch: master
- Last Pushed: 2013-09-12T19:02:08.000Z (about 11 years ago)
- Last Synced: 2024-10-12T03:11:28.326Z (about 1 month ago)
- Topics: example, professional-development
- Language: Ruby
- Homepage:
- Size: 148 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## About Wordstock
Wordstock is spell checking service.
This service accepts a word and returns a response indicating whether the word
is spelled correctly, with suggestions if it is mis-spelled.You can access this service at: http://wordstock.herokuapp.com/
## Setup
Install system dependencies:
brew install aspell
Setup the application:
git clone [email protected]:nicholasjhenry/wordstock.git
cd wordstock
# note target Ruby version is 2.0, but should run on 1.9.3
bundle
cp .env.example .envStart server:
rails s
Hit the API:
http://localhost:3000/spell.json?q=scintillating
http://localhost:3000/spell.json?q=scintillatingZ## Test Suite
Run the test suite with:
rspec spec
## Deployment
Wordstock is deployed on Heroku. If you would like to deploy the application yourself,
update line 2 of `config/heroku.yml` with ``.### Setup
rake heroku:create
rake heroku:config
rake secret # generate secret token and copy
heroku config:add RAILS_SECRET_KEY_BASE= -a### Deploy
rake production deploy