• Mini Hacks
  • General Instructions

    Welcome! To complete these mini hacks, you will need a Syncano account. Sign up here. Click on one of the mini hacks below to get started.

    Each mini hack has specific instructions on how to build the application. If you have any questions, click the link at the bottom of this page!

    Prizes:

    1. • Complete [1] Hack for a Syncano t-shirt
    2. • Complete [3] Hacks for an entry in the drawing for an iPad Mini
    3. • Complete all [5] Hacks for a Google Chromecast (first 5 people)

    Remember to show us once you are done with your hack!

    Ready. Set. Hack!

  • Data Object Mini Hack

    This mini hack is designed to introduce you to two basic Syncano concepts, Classes and Data Objects. These two concepts are crucial for data storage.

    You are building an application, and you want to store data in a class that represents the following JSON object.

    
                  {
                      "creator": "Luke Skywalker",
                      "color": "green",
                      "number_of_blasts_deflected": 30,
                      "description": "A green lightsaber that was used to defeat Darth Vader and the Emperor.",
                      "is_sith": false
                  }
                

    1. • In Syncano, create a new Lightsaber class with the correct data model.
    2. • Add a sample data object that represents the JSON object above.
    3. • When complete, swing by the Syncano booth with your completed work to receive your free t-shirt!

  • User Registration Mini Hack

    This minihack is designed to show you how easy user management can be with Syncano. First, you'll want to clone this repo:

    git clone http://github.com/Syncano-Community/syncano-user-reg

    Open the index.html file in your browser of choice. Here, we have a simple User Registration form with input fields for username and password. The page is already wired up with JQuery and Syncano, but it's up to you to make this form work successfully! More information about User Management can be found here.

    To successfully complete this mini-hack, write the Javascript code necessary to allow the form to successfully create users. If done correctly, you'll be able to see these created users in your Syncano Dashboard under "Users". Once completed, swing by the Syncano booth to show us your working form!

  • Weather Forecaster Mini Hack

    This mini hack is designed to introduce you to Syncano Solutions, which can be installed into your Syncano Instance to give it additional functionality. In this example, we'll install a Solution to bring in current weather data for any city and state combination. Then, we will output the current weather information onto the page.

    To get started, clone this repo:

    git clone http://github.com/Syncano-Community/syncano-weather-forecaster

    Open the index.html file in the browser of your choice. This page has already been set up with a field for city and state. JQuery and Syncano are already included on the page, and the necessary jQuery has already been written for you. It's up to you to set up what's needed in your Syncano Dashboard and write the correct Javascript code to get the weather data. There are a few things you will have to do:

    1. • Find the appropriate Syncano Solution for Weather Data
    2. • Set up a Webhook to access the Solution
    3. • Write the proper Javascript code to use your Webhook

    If you run into any issues, take a look at our docs. Whenever you've completed this mini hack, swing by the Syncano booth for verification. Good luck!

  • CodeBox Mini Hack

    This mini hack is designed to introduce you to Schedules and Triggers. These two tools can expand your use of CodeBoxes and functionality in your application. If you haven’t signed up for Syncano already, please click here.

    All steps of this mini hack will be done inside the Syncano platform.

    1. Instructions
    2. • Create a new instance
    3. • Go to the Solutions Marketplace and install the “Scheduler/Trigger Demo” solution in that new instance
    4. • Enter your Account Key and instance name in the config tab of each CodeBox
    5. • Create a Schedule (Tasks Module) that runs the “addObject” CodeBox every 5 minutes
    6. • Create a Trigger (Tasks Module) that triggers the “updateCounter” CodeBox each time a new item is created in the “data” Class.

    If you run into any issues, take a look at our docs. Whenever you've completed this mini hack, swing by the Syncano booth for verification. Good luck!

  • Real Time File Manager Mini Hack

    Below are instructions on how to build the Real Time File Manager. If you haven’t signed up for Syncano already, please click here.

    Instructions

    1. • Create a new instance
    2. • Create a Class with the following schema
    
            {
              {
                "name": title,
                "type": string
              },
              {
                "name": file,
                "type": file
              }
            }
          
    1. • Create a Channel with “Other” permissions set to subscribe
    2. • Clone/Download this github repo
    3. • Follow the comment instructions in js/app.js from that repo

    Real time docs to help

    If you run into any issues, take a look at our docs. Whenever you've completed this mini hack, swing by the Syncano booth for verification. Good luck!

Need help? Contact us on the Syncano Community Gitter