This project is a demo to show how to run a temporary server to render data on the front end dynamically.
git clone [email protected]:jbcoder/ng-welcome-screen.git
npm install
You may be prompted for which version of a library to use. If so, use the option for angular#1.6.5
.
- install all npm and bower dependencies
Note: If npm install
fails during dependency installation it will be likely caused by gulp-imagemin
. In that case remove gulp-imagemin
dependency from package.json
, run npm install
again and then install gulp-imagemin
separately with following command: npm install gulp-imagemin --save-dev
json-server --watch server\schedule_data.json
Once the server has started, your home address for your temp API should be listed in the terminal. Be sure to change it in app/config.js
under API_URL
if it is different.
Open another terminal and run this.
npm start
or
gulp
If the installation went smoothly, you should have a json server running and the website should have popped up. Here are a few places you can go.
Assuming the url is http://localhost:3001, you should be able to go to the following pages:
- Home @ http://localhost:3001
- Welcome @ http://localhost:3001/#/welcome/772485
- Agenda @ http://localhost:3001/#/agenda/772485
- Full List @ http://localhost:3001/#/noclist