Skip to content
master
Go to file
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

README.md

Dulcinea: a nebrija frontend + api

Code Climate

Description

This project serves as a HTML + JSON frontend for the nebrija RAE library.

It is a simple Sinatra app that serves a JSON as well as a -hopefully- nice webpage, and it's being run on Heroku.

Here is how it looks when a word is searched: image

Routes:

  • '/' serves the webpage. The frontend is made with Bootstrap + Zepto.js. The JSON is requested using Ajax.
  • api/word/:word is where the API is hosted. The responses are the ones from nebrija but adding the current nebrija version.

Running locally

# clone the repo
$ git clone https://github.com/javierhonduco/dulcinea && cd dulcinea
# install the dependencies
$ bundle install
# run a server that reloads automatically
$ script/serve
# or the server run by Heroku (unicorn)
$ bundle exec foreman start

Releases

No releases published
You can’t perform that action at this time.