Code Monkey home page Code Monkey logo

squarespace-parse's Introduction

Overview

This is a Squarespace V6 template I created that uses Parse.com as the backend database. Since Squarespace is a hosted platform, site owners and developers do not have access to the backend server code. Therefore, creating database-driven apps have been notorisouly difficult due to cross-domain issues.

Parse implements Cross-origin resource sharing (CORS), which allows interaction with a databse regardless of the domain.

So… I created this site to explore what's possible.

Demo

Example Site: Mike's NFL Pool

Mikes NFL Pool is a fun football pool site I created for my father-in-law. You can view the site or even login as a guest user and play along.

Quick Summary of Steps

  1. Be sure to have your site template up and running using the Squarespace Development Kit instructions.
  2. Create an account as Parse.com. They provide a free basic plan. Once you sign up, create a new app and fill in the appropriate information.
  3. Use Parse's online Data Browser to build your database. There are more advanced methods you can use later once you're more familiar with the setup.
  4. Download the Parse Javascript API, and add required files to your Squarespace site. Review their Javascript API guide
  5. Include other required files. jQuery and underscore.js
  6. Utilize the parse-backbone framework to interact with your new database.

Javascript Dependancies

  1. jQuery
  2. Parse.com
  3. Underscore.js

Further Help

Visit the Squarespace Answers guide for further information. I created a specific answer regarding this demo in that guide available here.

squarespace-parse's People

Contributors

chriscox avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.