Show HN: CodeSandbox – A React editor built for easy sharing and reusability
codesandbox.io
codesandbox.io
The next thing I’m building for CodeSandbox is the real reusable part: it should be possible to publish any project you have on CodeSandbox to NPM with a single click and let others reuse it as much as they like. An example is that someone makes a button on CodeSandbox and publishes it, others can then use this button inside CodeSandbox or in any project out of CodeSandbox. Publishing is already done, I’m now working on UI so publishing and searching sandboxes becomes easier.
I’d love to hear any feedback or suggestions or problems you might have! I want to make CodeSandbox as friendly as possible.
For now a quick summary of what we use now:
1. Phoenix/Elixir for the API
2. Node for bundling NPM packages
3. Postgres for SQL
4. Redis for caching NPM package metadata
The editor itself is written in React (hah!) and uses styled-components, redux, redux-thunk and react-router@4.0.0 as most used libraries. I code split every optional preference a user may have (like autocomplete, vim or prettify) using webpack 2.
Everything is hosted on Vultr (20$ node).
I'd love to answer more if you have any questions.