Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/javierhonduco/dulcinea
A nebrija frontend + api.
https://github.com/javierhonduco/dulcinea
api frontend rae spanish-dictionary
Last synced: 18 days ago
JSON representation
A nebrija frontend + api.
- Host: GitHub
- URL: https://github.com/javierhonduco/dulcinea
- Owner: javierhonduco
- License: mit
- Created: 2014-08-05T11:47:08.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2017-03-05T20:03:48.000Z (over 7 years ago)
- Last Synced: 2024-08-01T00:45:23.689Z (3 months ago)
- Topics: api, frontend, rae, spanish-dictionary
- Language: HTML
- Homepage: http://dulcinea.herokuapp.com/
- Size: 282 KB
- Stars: 5
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
## Dulcinea: a nebrija frontend + api
[![Code Climate](https://img.shields.io/codeclimate/github/javierhonduco/dulcinea.svg)](https://codeclimate.com/github/javierhonduco/dulcinea)
### Description
This project serves as a HTML + JSON frontend for the [nebrija](https://github.com/javierhonduco/nebrija) RAE library.
It is a simple [Sinatra](http://www.sinatrarb.com/) 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](https://cloud.githubusercontent.com/assets/959128/23587327/fe2073fc-01a9-11e7-8ec2-548d3ef0ebaa.png)### 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](https://github.com/javierhonduco/nebrija) but adding the current nebrija version.### Running locally
```bash
# 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
```