{"repo":"devinit/datahub","free":true,"listed":false,"github":"https://github.com/devinit/datahub","clone":"git clone https://github.com/devinit/datahub.git","description":"Datahub v2","language":"TypeScript","stars":15,"topics":["nextjs","reactjs","apollo-client","redux","storybook","graphql","d3","mapbox-gl","webpack","datahub"],"license":null,"category":"api-integrations-sdks","readme_excerpt":"Installation ------------- Scripts/Commands - npm run pull fetches updates from the CMS and syncs the appropriate project files. Be sure to specify the correct API URL, otherwise you may pull incorrect data. TODO: - [ ] Maybe replace redux with unistore - [x] Use greenlet for webworkers -- didnt pan out well - [ ] Explore purgecss for css optimisation -- need to carry out some tests - [ ] Explore reactpot for further perf Important Points / guides ------------------------ - Develop from a unix OS (MacOs , ubuntu etc). I dont plan to add windows support. - Prefer to use vscode, it has very good typescript support. - We are building on top of next.js see next.config.js for configs. - npm run build-fragment to build out a fragment json for grapqhl union types - we use npm config variables to prefill some global constants such as the API et la see for more - In dev mode we run a nodemon process, it sometimes doesnt die when you cntrl-c. You could use to find its PID and then kill it with . Atomic react design component development with storybook Cypress testing ------- - check out the apps cypress dashboard here) - You need to have run npm run build:next before running the cypress-open command. Checkout the readme file in cypress directory for more. Pain Points / issues -------------- - Currently stack with npm instead of yarn. The thing with installing with yarn, is that the charts library will stop working well for some charts. This may have to do with the way npm installs depe","default_branch":null,"files":null,"tree":[],"storefront":"/r/devinit","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/devinit/datahub/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}