code - lucatironi Code snippets and tutorials

I'm Luca, I'm 32 and I live in Berlin, Germany.
I like to code.
Here are some of the things that I learned and I'd like to share.


Using rails-api to build an authenticated JSON API with warden

Two years ago I published a series of tutorials to explain how to build a JSON API with Ruby on Rails and setting up an authentication with Devise. This new tutorial uses a test driven approach (RSpec) and rails-api with warden, so we can now build the same backend with even less code.

Jekyll Static Website with Continuous Deployment/Delivery to S3/Heroku

Jekyll - the Static Website generator gem - can be extendend to use a Rails-like assets pipeline to develop even complex Single Page Applications and can be configured to be automatically deployed to a public S3 bucket and/or to Heroku, using a Continuous Deployment/Delivery service like Codeship.io

Ruby on Rails and RubyMotion Authentication Part Two

The second part of the RubyMotion tutorial will guide you to complete the ToDo example app with all the features like tasks display, task creation and completion.

Source code for the authentication tutorials

Following several requests, I've decided to publish the revised code that I used to write the previous tutorials.

Ruby on Rails and RubyMotion Authentication Part One

Using the same backend we developed in the previous tutorials, I'll guide you through the coding of an iOS (iPhone) app using Rubymotion that will use the same JSON API as the Android app.
UPDATED on May 15th

Ruby on Rails and Android Authentication Part Three

I wanted to add some more features to the Android app and its Rails backend. Now the user can create and complete tasks just like in a real ToDo mobile application.

Ruby on Rails and Android Authentication Part Two

The second part of the tutorial will let you code an Android app that uses the JSON authentication API developed in the previous tutorial.

Ruby on Rails and Android Authentication Part One

In this three-part tutorial you'll learn how to build an authentication API that can allow external users to register, login and logout through JSON requests, with Ruby On Rails.