AntiPaste / ilmo

Fyysikkokillan ilmomasiina

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ilmo

Fyysikkokillan ilmomasiina

Starting up

$ docker-compose build
$ docker-compose up

Test events

r.db('ilmo').table('events').insert({
  name: 'Testi',
  fields: [{
    key: r.uuid(),
    label: 'Etunimi',
    type: 'text',
    optional: false,
    public: true
  }]
})

r.db('ilmo').table('events').insert({
  name: 'Laajempi testi',
  fields: [{
    key: r.uuid(),
    label: 'Etunimi',
    type: 'text',
    optional: false,
    public: true
  }, {
    key: r.uuid(),
    label: 'Sukunimi',
    type: 'text',
    optional: false,
    public: true
  }, {
    key: r.uuid(),
    label: 'Sukupuoli',
    type: 'radio',
    choices: ['Mies', 'Nainen', 'En tiedä'],
    optional: true,
    public: true
  }, {
    key: r.uuid(),
    label: 'Paikkakunta',
    type: 'select',
    choices: ['Helsinki', 'Muu'],
    optional: true,
    public: false
  }]
})

About

Fyysikkokillan ilmomasiina


Languages

Language:JavaScript 69.4%Language:Python 23.6%Language:CSS 7.0%