Skip to content

MatthijsKamstra/skeletor-sheet

Repository files navigation

Skeletor-Sheet

I needed a quick prototype with a Google Spreadsheet as database

It seems a good idea to make a skeleton project for this.

Desciption project

this is a bootstrap project for a quick website with a Google Spreadsheet "database"

TODO

  • Haxe only vs js only
  • neko vs "other" server solution
  • automatic build / watch
  • store temp values in local storage
  • bootstrap/fontawesome/default css
  • google sheet + js lib to get data
  • vue.js for template
  • info about Haxe and Neko

Json definition aka AST

Easy way to make AST files for .json

http://matthijskamstra.github.io/hxjsondef/

Install

Normally you can install with

haxelib install

But some stuff that doesn't install automaticly by haxelib. You can fix that with the following commands

# haxe-js-kit for externs
haxelib git js-kit https://github.com/clemos/haxe-js-kit.git haxelib

# I sometimes use my personal set haxe-externs
haxelib git hxexterns https://github.com/MatthijsKamstra/hxexterns.git

# cutting edge vue.js externs
haxelib git vue https://github.com/MatthijsKamstra/Vue.hx.git

Files

- package.json (a lot of automation)
+ bin
+ docs
+ src
+ styles

Google sheets

source

File > Publish to the web

Make sure you have entire document selected in the dropdown option. You can choose to automatically publish changes by checking the feature on the bottom. If you don’t do this, you will have to publish the spreadsheet every time you make a change.

For this example used document. First url is the 'web-publish' version that doesn't work. The second is the 'shared' document url, that works

vscode

To make it work with vscode you need build files without:

  • c
  • v

sources