Skip to content
/ vida Public
forked from vidalab/vida

Flexible data viz using redwoodjs framework

License

Notifications You must be signed in to change notification settings

guledali/vida

 
 

Repository files navigation

Vida

This application allows you to create data visualization dashboard using JSON files. The JSON file works as a description of the dashboard.

See a JSON file example here: https://github.com/vidalab/vida/blob/master/web/public/viz/covid_states.json

To run the dashboard with your own JSON file:

VIZ_JSON=viz1.json yarn rw dev

Redwood

Vida uses RedwoodJS.

Getting Started

  • Redwoodjs.com: home to all things RedwoodJS.
  • Tutorial: getting started and complete overview guide.
  • Docs: using the Redwood Router, handling assets and files, list of command-line tools, and more.
  • Redwood Community: get help, share tips and tricks, and collaborate on everything about RedwoodJS.

Setup

We use Yarn as our package manager. To get the dependencies installed, just do this in the root directory:

yarn install

Fire it up

yarn redwood dev

Your browser should open automatically to http://localhost:8910 to see the web app. Lambda functions run on http://localhost:8911 and are also proxied to http://localhost:8910/api/functions/*.

Development

Database

We're using Prisma2, a modern DB toolkit to query, migrate and model your database.

To create a development database:

yarn redwood db up

This will read the schema definition in api/prisma/schema.prisma and generate a sqlite database in api/prisma/dev.db

If you've made changes to the schema run yarn redwood db save to generate a migration, and yarn redwood db up to apply the migration/ generate a new ORM client.

About

Flexible data viz using redwoodjs framework

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 60.9%
  • JavaScript 38.2%
  • Other 0.9%