decentraland / bronzeage-node

DEPRECATED: This codebase will not be mantained anymore, and formats are going to change when we move to the Decentraland Iron Age
https://decentraland.org
Other
104 stars 22 forks source link

Convert dashboard to use react-redux-sagas #69

Open nicosantangelo opened 7 years ago

nicosantangelo commented 7 years ago

This is a long PR.

Please test and let me know any feedback on the implementation (it's my first time using sagas)

The idea is to have the same features as the old vanilla-based version, so there's still room for improvement (for example, for error handling)

There's a lot of new code and configuration, so it's likely that I missed something, let me know!

To run, you can just use RPC_API_KEY="KEY" ./bin/start, or, if you're feeling adventurous:

cd browser
npm i

# 1
npm run build
node server.js --apikey 'KEY' --serverport 5000

# Or, 2
npm start
node server.js --apikey 'KEY' --serverport 5000 --api

Visit https://github.com/decentraland/bronzeage-node/tree/convert-to-react/browser for more info!

Important

I went with the last option, as it's the one with the least friction for the user, but it's easily changed. What do you think?

🎩