This app was made on a hackathon and not maintained for a long time. So expect a very pure code quality.
This is project created on Space Application Hackathon. You can try it out here https://hejny.github.io/cities.
- Run
npm run build
- Copy static files from build/ to your server
- Include the necessary scripts
<link rel="stylesheet" type="text/css" href="/static/css/main.css" />
<script type="text/javascript" src="/static/js/main.js"></script>
- Initialize the map application
<script type="text/javascript">
window.onload = function() {
new CitiesApp(document.getElementById('root'), {
apiURL: 'http://api-url.com',
});
}
</script>
npm install
npm run