The goal of this workshop will be to create a sample application using Algolia. For this example, we'll use a Bordeaux related dataset: approximately 1000 wine bottles from the area.
The workshop is split into two parts, one for node, and one for rails, but we will end up with a very similar project.
To follow this workshop without needing to install a lot, we suggest you use:
- node v4 or higher for the node workshop
- ruby >= v2.2.2 or rvm to install it for the rails workshop
$ git clone https://github.com/algolia/hack-bdx
$ cd hack-bdx
$ # now either
$ git checkout node
$ # or for rails:
$ git checkout rails
You can also follow via GitHub:
For each of those links, we link you to the repository at the state of the step. Instructions are at the end of the README (We left the instructions for the previous steps).
Feel free to git checkout COMMIT
at any step , create a new branch (e.g. git checkout -b mine)
and continue forward from there.
Step 1: Creating a basic webserver
node
(w/express
): https://github.com/algolia/hack-bdx/tree/430e424c714cc0df51afb546c5d8feef315b9e33rails
: https://github.com/algolia/hack-bdx/tree/59d7619f7404e4f13fe689f4cdbf319d9a118e78
Step 2: Adding a basic database search
node
: https://github.com/algolia/hack-bdx/tree/b404b8f07fdd06605cd645b9459df22de6fd6e16rails
: https://github.com/algolia/hack-bdx/tree/db172c04fb17c506408e3578b1cedf98e7fd69f7
Step 3: Push your data to Algolia
node
: https://github.com/algolia/hack-bdx/tree/ff1c910267b89903c8fa728e06eccd326989f607rails
: https://github.com/algolia/hack-bdx/tree/48f459021da559c36ce82e6592834e2c31efe510
Step 4: Implement a basic search
node
: https://github.com/algolia/hack-bdx/tree/b49a9e2a4f8517bd97ad3c9ecca0ff72f85dddd8rails
: https://github.com/algolia/hack-bdx/tree/8495c2ae20bbad5549a585d87702822c8b603317
Step 5: Push forward (a full front-end implem')