Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use JSON for company profiles #88

Closed
hkdobrev opened this issue Oct 15, 2015 · 6 comments
Closed

Use JSON for company profiles #88

hkdobrev opened this issue Oct 15, 2015 · 6 comments

Comments

@hkdobrev
Copy link
Contributor

Similar to JSON Résumé and json-job.

If the company profiles are in JSON, various lists and apps could be created on top of it client-side similar to http://emoji.muan.co/ - see source: https://github.com/muan/emojilib/blob/master/emojis.json

@tedmiston
Copy link
Contributor

Great idea. I've been looking for something like JSON Resume for so long. Thanks for the share.

@jessicard
Copy link
Collaborator

👍 Good call.

@zeke
Copy link

zeke commented Oct 15, 2015

👏

@eddiejaoude
Copy link
Contributor

Great list! Is this still part of the plan?

I have converted the markdown list of companies to json WeRockTech@bbcdff8 that way it can be moved to a web app and put on GitHub Pages

@dougaitken
Copy link
Member

Closing and any discussion can happen in #44 to keep things central.

Will look to getting this done during Hacktoberfest 2017 (if it happens) as I think will be a nice 2-year reminder for how I got into this

@nylen
Copy link
Collaborator

nylen commented Jun 25, 2018

This is basically done, the last piece to make it work was #445. However, the Markdown files are still the actual data source, mainly because this format is much easier for people to maintain. There is code in this repository that generates the data structure based on all info about each company in the list.

In order to get the JSON data, you need to call into lib/index.js in this repository, and tell it to validate and parse the README.md and company-profiles/*.md files:

~/code/remote-jobs $ node
> const { parseFromDirectory } = require( './lib' );
undefined
> const data = parseFromDirectory( '.' );
undefined
> JSON.stringify( data ).length
452861

As you can see, the full data structure is pretty large.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

7 participants