Doogle dictionary API.
This application basically is divided in two parts:
- Rails Dictionary API - using http://www.dictionaryapi.com/
- SPA-ember (Single Page Application) using emberJS
- SPA-angular (Single Page Application) using angularJS
-
The application stores all the words and definitions which are searched.
-
If the word is already searched, it should be stored in the database and not consumed by the DictionaryAPI.
-
Setup the API KEY from DictionaryAPI
- You should create an API_KEY in the following website: http://www.dictionaryapi.com/
- Once you have created, you might use dotenv and create ENV['API_KEY'] in your environment.
-
Running the application
$ bundle install
$ rake db:create && rake db:migrate
$ foreman start
Foreman will start:
- Rails API - http://localhost:3000
- Ember application - http://localhost:8080
- Angular application - http://localhost:8000
- rails-api
- active-model serializers
- rspec
- foreman
- simplecov
- puma
- vcr
- spring
- Fork it
- Create your feature branch:
git checkout -b my-new-feature
- Run tests:
rake
- Commit your changes:
git commit -am 'Add some feature'
- Push to the branch:
git push origin my-new-feature
- Create new Pull Request