1.2.1 • Published 8 years ago
aurora-demo-frontend v1.2.1
Aurora Core Frontend Demo
Demo implementation of a frontend conforming to Aurora specifications.
Uses the Aurora application assembly framework provided by aurora-core to render a frontend application as specified by an Aurora api.
Install dependencies
- Install node.js (7.9.0)
npm install
Development shellscript example:
#!/bin/sh
export PORT=3000
export HOSTNAME="localhost"
export DEBUG="*,-babel"
export NODE_ENV="development"
export API_URL="http://localhost:3001"
npm run develop
Production shellscript example:
#!/bin/sh
export PORT=3000
export HOSTNAME="localhost"
export DEBUG="*,-babel"
export NODE_ENV="production"
export API_URL="http://localhost:3001"
npm run build && npm start