EnviroMonitor / EnviroMonitorFrontend

Frontend for EnviroMonitor
http://air-monitor.org
GNU General Public License v3.0
4 stars 3 forks source link

Creating base structure #4

Closed ajakubo1 closed 7 years ago

ajakubo1 commented 7 years ago

Creating a webpack configuration for our react application + adding a possibility of writing tests.

All of the work based on survivejs webpack tutorial: https://survivejs.com/webpack/introduction/

I didn't configure fully the react side of things, I've stopped here: http://survivejs.com/webpack/advanced-techniques/configuring-react/#setting-up-babel-preset-react-hmre-

I'm not sure we would need other features for now :).

I used mocha and nyc for tests/coverage.

I think it would be nice if we also added eslint + config for it, but it's not badly required as well ;).

A heads up: I didn't deal with real application code or any geolocation api for now, so there's not much to browse on the webpage :D. But I think it's a good place to start with development.

ajakubo1 commented 7 years ago

OK, I've added the newlines. I'll merge the branch if it looks OK to you @lechup ;).