#Fipe-Table-Select
work in progress
A plugin to implement the brazilian FIPE table veiculos.fipe.org.br in any web page.
The plugin will use the api available at fipeapi.appspot.com which returns json files based on parameters passed to the url.
##Functionality
The goal is to get a plugin that will allow users to do the following operations:
- Select a vehicle type (cars, motorbikes or trucks).
- Select a brand based on step 1.
- Select a model based on step 2.
- Select a vehicle year based on step 3.
- Save/Send the data retrieved for further use.
##Demos
- Barebone
- Styled with brands logos
- Styled single element with logos and search input
##Development
- Harpjs as a local server and to compile
- Jade for the html
- Stylus for the css
- jQuery (vanillajs on its way)
- Tests (incoming)
##How to use
Development files are in the app
folder
- In terminal, run
harp server
at root - Open
http://localhost:9000/app/
in browser - In terminal, run
harp compile
inapp
folder to compile the project
Production files are in the app/www
folder
- Html in
index.html
- Javascript in
app.js
(add jQuery if needed) - Css in
main.css
##Roadmap
- Test bikes type
- Test trucks type
- Allow edition
- Vanilla Js version
- Include tests
- Styled demos
- All-in-one element