Skip to content

atomicdata-dev/atomic-data-browser

 
 

Repository files navigation

Atomic-React

status: pre-alpha

Typescript / React library for parsing, storing and rendering Atomic Data. Designed for interacting with atomic-server.

demo

Progress

  • View data
    • Fetch atomic data
    • Render atomic data
    • Render properties as labels
    • Datatype dependent renders
    • Table view
    • Navigate collections (sorting / pagination)
  • Edit data
    • Commit implementation
    • Instantiate new Resources
    • Validate form fields
    • Set default agent / base server
    • Edit properties (Sign and Post Commits after editing an atom)
    • Click a property to open its form
    • Add properties to existing resource
  • Resolve atomic paths
  • Split up and publish as useful NPM package(s) (atomic-lib, atomic-react?)

Usage

Run using npx:

npx snowpack dev

Or yarn / npm:

yarn
yarn dev
yarn build
  • lint: yarn prettier --write .
  • test: yarn test

Deploying

  • Due to a snowpack bug, we first need to go to index.html and rename the absolute paths to assets to https://joepio.github.io/atomic-react/${path}.
  • publish: yarn publish builds & pushes to gh-pages branch.

Directory structure

- **components**: possibly re-usable components
- **helpers**: projects-specific helper functions
- **lib**: general atomic data library (higher documentation + testing goals), no react-specific code.

Contribute

Open a PR, post an issue, but most of all: join our Discord server!

About

This repo is no longer used! Code is moved to Atomic-Server

Topics

Resources

License

Stars

Watchers

Forks

Contributors 6