Note: This serves from ../uCalAngular/dist so you must first build the front-end to be able to serve the web-app
- Install Node.js
cd servernpm install # or yarn install if you're coolnpm start # or yarn start if you're coolGo to localhost:3000
Note: step 3 and 4 are one-time installs
- Install Node.js
cd uCalAngularnpm install -g @angular/cli # you may need sudo on *nixnpm install # or yarn start if you're coolng build [--prod] # creates the dist folder so you can serve, use the prod flag for performance
- Install Node.js
cd uCalAngularnpm install -g @angular/cli # you may need sudo on *nixnpm install # or yarn install if you're coolng serve # runs a development server- Open
localhost:4200
Some things to know:
- The web application is set up to use a service-worker when in production, this caches resources and allows people to use the app when offline