eliataylor / object-actions

An interactive worksheet and CMS builder
Other
0 stars 3 forks source link

Object-Actions Worksheet

PURPOSE

HOW

A: Objects to Actions B: Object Field Types C: Permissions Matrix
Objects / Actions Objects to Actions Permission Matrix
↓ generates ↓

A secure API and CMS written in Django, with a fully integrated and authenticating ReactJS front-end:

docs/nod-oa-interface.png

Content Admin API Documentation with Secure Authentication System
CMS Admin Swagger Docs Redoc Docs

USAGE:

Generate your Django models, views, serializers and urls:

python django/generate.py admin --types=examples/object-fields-nod.csv --output_dir=examples/django/oaexample_app

Generate your TypeScript types, interfaces and URL patterns:

python django/generate.py typescript --types=examples/object-fields-nod.csv --output_dir=examples/reactjs/src/object-actions/types/types.tsx

Test API and Generate fake data for API

cd databuilder && npm install && npm start

Run Frontend example from object-actions/examples/reactjs:

cd object-actions/examples/reactjs && npm install && npm start

For step-by-step usage to build example projects see USAGE.md


Build your own project from Object/Actions spreadsheets

Copy and start your own from this Empty version.

Or copy and edit this Example version for a meal prep program:


To contribute: CONTRIBUTING.md