Code Monkey home page Code Monkey logo

watto's Introduction

Watto

Wautils2. This is a rewrite of wild_apricot_python_flask_utils, but since it is mostly ruby that didn't seem like a very good repo to stash this app.

Watto provides an utility interface to the Nova Labs Wild Apricot account for a few custom tasks that we need in the Maker Space. This is primariliy for class instructors and shop stewards to manage sign offs.

Development

Recomend using a ruby version manager such as RVM or [rbenv](https://github.com/rbenv/rbenv], but this project doesn't have any preferences.

Clone the repo, create a .env file with the necessary envrionment variables (see .env-example for the options).

Then to install the dependencies and setup the database:

./bin/setup

Then to get a local web server:

./bin/server

Running the tests:

./bin/rspec

Integration Wild Apricot

This app doesn't make much sense without a Wild Aprocot account.

Auth

Authentication is done via OAuth with Wild Apricot.

Data Sync

The following models are kept in sync with Wild Apricot

Rails Model Wild Apricot Model Description
User Contact Contact or member.
Field Field Field description and type
FieldUserValue Value A users value for a field, may be multiple for a field if it is MultipleChoice.
FieldAllowedValue AllowedValues Allowed options for a Field, e.g. multiple choice options.
Event Event Event with time and place.
EventRegistration EventRegistration A person registered for an event.

Sync of these models can happen via a command line task:

./bin/rails wa:sync

Or individual resource collections:

./bin/rails wa:users
./bin/rails wa:events

To see all the options run:

./bin/rails -T

License

MIT. See LICENSE.


"Mind tricks don't work on me." -- Watto

watto's People

Contributors

csexton avatar lprekon 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.