StatistikStadtZuerich / stat.stadt-zuerich.ch

API Backend for the linked open statistical data of the Municipality of Zurich
Other
0 stars 0 forks source link

Add frontend app #9

Closed jstcki closed 6 years ago

jstcki commented 6 years ago

Everything frontend-related lives under app/.

Before it can run in production, it needs to be built: cd app && npm i && npm run build should do the trick.

Then you can import the Express middleware from app/index.js and add it to your server.

jstcki commented 6 years ago

@bergos I suggest you add the necessary build script to wherever you think it's the right place and when it's working you can merge this PR :) If there are issues, please let me know!

jstcki commented 6 years ago

BTW in case this isn't obvious: the build artifacts of the frontend are ignored by git, so the build needs to run on each deployment.

jstcki commented 6 years ago

Resolved via 8ef1c3df5462757079a813965133d530b29769ea