Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/vidalab/vida
Flexible data viz using redwoodjs framework
https://github.com/vidalab/vida
data-visualization
Last synced: 2 months ago
JSON representation
Flexible data viz using redwoodjs framework
- Host: GitHub
- URL: https://github.com/vidalab/vida
- Owner: vidalab
- License: mit
- Created: 2020-04-16T23:33:48.000Z (almost 5 years ago)
- Default Branch: main
- Last Pushed: 2023-01-06T07:11:34.000Z (about 2 years ago)
- Last Synced: 2024-11-13T12:02:36.610Z (2 months ago)
- Topics: data-visualization
- Language: TypeScript
- Homepage: https://vida.io/
- Size: 4.3 MB
- Stars: 51
- Watchers: 4
- Forks: 9
- Open Issues: 18
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-redwood - Repo
README
# 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:
```terminal
VIZ_JSON=viz1.json yarn rw dev
```# Redwood
Vida uses RedwoodJS.
## Getting Started
- [Redwoodjs.com](https://redwoodjs.com): home to all things RedwoodJS.
- [Tutorial](https://redwoodjs.com/tutorial/welcome-to-redwood): getting started and complete overview guide.
- [Docs](https://redwoodjs.com/docs/introduction): using the Redwood Router, handling assets and files, list of command-line tools, and more.
- [Redwood Community](https://community.redwoodjs.com): 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:
```terminal
yarn install
```### Fire it up
```terminal
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](https://github.com/prisma/prisma2), a modern DB toolkit to query, migrate and model your database.
To create a development database:
```terminal
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.