Use PortalJS to create a Data Portal for data on Github in 5 minutes #763
Replies: 6 comments 11 replies
-
Maybe we could start a simple spike solution e.g.
|
Beta Was this translation helpful? Give feedback.
-
I have one question, is the data-portal going to theoretically index everything inside the user/org (ex: /datasets) or is it going to be only one repo? If it's only one repo is it going to be a frictionless one? If so, is search functionality needed if all the datasets can fit into a single datapackage.json? |
Beta Was this translation helpful? Give feedback.
-
by this i assume you are meaning the dataset page in |
Beta Was this translation helpful? Give feedback.
-
Note: we should nail an acceptance or sketch before we begin. My simplest version would be to reproduce https://data.fivethirtyeight.com (maybe only first 3-5 datasets). |
Beta Was this translation helpful? Give feedback.
-
@rufuspollock just so im clear, is this more or less what you wanted(ignore the design for now)? https://portaljs-jet.vercel.app/ Basically, imagining im a dude who wants to have a data portal, i would have some repos somewhere, i would basically Please take a look into that deployment i've shared, and in the code inside of here which tbh is pretty standard stuff, just copying things from datahub-next and modifying to fit the needs Obs: About styling, i didnt do like you said because i started working on this yesterday and i was not sure on what was wanted, so i just grabed the first tailwindui thing that i saw to make it easy, if you want something more like a list/table is the first table here ok? In any case, what sort of information do you want displayed? I just used the:
Please just confirm if this is more or less the direction that you want to follow and what to change |
Beta Was this translation helpful? Give feedback.
-
All remaining conversation should be directed at #768 |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Purpose and Principles
A demo and tutorial creating a portal for csv datasets on github to demonstrate what PortalJS can do, especially for simple data:
Future
Outcome visioning
Can clone a template repo, set some variables to say which datasets which you want to show, deploy to e.g. Vercel and you have a running portal ...
... and then read a tutorial with instructions on how you can then customize it and do more ...
Brainstorm and Prioritization
Questions
index.jsx
with getStaticProps to load data files specificied in a config.json (or whatever config file we have). See below for outlineNext steps
Notes
Spec for `config.json
Beta Was this translation helpful? Give feedback.
All reactions