Transform-to-Open-Science
Transform-to-Open-Science copied to clipboard
Create Open Science Success Story Solicitation Feature and Database
We love hearing about how open science has improved people's lives! However, we currently do not have the infrastructure set up to ingest and store that data in a clean and efficient way. Your task will be to devise and implement a frontend method of soliciting and a backend method of storing those success stories, as well as making those stories publicly available and searchable. This could be as simple as a Google Form, but of course, the more integrated this feature is with the Github repo the better. One potential inspiration is the Open Science Success Story Database.
As discussed in OSD Room, I am working on this. Please assign this issue to me.
How is this coming along @codeWithUtkarsh ?
Hey @PaigeDAO , I actually completed this a while ago but was not sure whom to demo this. Give me this weekend I'll just get that reworking and host it on my personal server to demonstrate my work.
@PaigeDAO May you please review this? I hosted it on vercel to get feedback from you. Visit here:- https://tops-story.vercel.app/
I created a react application that takes the following env variables to save details as markdown files in the repository specified. REACT_APP_GH_TOKEN = // github token REACT_APP_GH_OWNER = // github org name REACT_APP_GH_REPO = // github repo name REACT_APP_GH_REPO_DIRECTORY = // pass directory if you want to same file inside a directory // Optional
How to use this https://tops-story.vercel.app/ ?
- Navigate to https://tops-story.vercel.app/
- Fill the form with mandatory fields
- You will get a success message
- The file will be saved in the repo, directory specified in the environment variable. Currently, it is saving at https://github.com/codeWithUtkarsh/tops-ui/tree/main/story .
Looks pretty straightforward and simple to use.
Q plz: Where are the responses stored then? Your personal repository (as indicated above)? Or?