- so lazy, I generated the code using
swagger-codegen generate -i dnb-swagger.json -l spring -o portal-server
- there are two profiles :
dev : which loads the relevant mock resources
production : I should have named it prod , it loads the relevant live resources, for now they are all leading to an UnsupportedOperationException.
- so lazy, I generated the code using
npm install -g vue-cli
vue init webpack portal-frontend
- run the backend, it should start a server on port 8080
./run.sh dev # dev mode
./run.sh prod # prod mode
./run.sh debug [profile?] # run with debugger, default profile is dev if not specified
- run the frontend, it should start a dev server on port 8081
cd portal-frontend && npm start
- explore the whole thing by browsing to
http://localhost:8081/