Skip to content

This project is a demo to show how to run a temporary server to render data on the front end dynamically with AngularJS.

License

Notifications You must be signed in to change notification settings

che-wf/ng-welcome-screen

 
 

Repository files navigation

ng-welcome-screen

This project is a demo to show how to run a temporary server to render data on the front end dynamically.

Installation

git clone [email protected]:jbcoder/ng-welcome-screen.git

1. Setup

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

2. Start Server

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.

3. Watch files

Open another terminal and run this.

npm start

or

gulp

Working pages

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:

About

This project is a demo to show how to run a temporary server to render data on the front end dynamically with AngularJS.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • SCSS 47.0%
  • JavaScript 41.7%
  • HTML 11.3%