-
Notifications
You must be signed in to change notification settings - Fork 0
Step 0 : Getting Started
We will build an application that lists blood banks based on states and cities provided as inputs. We start with a fairly simple UI that allows user to pick state/cities from drop-downs and lists the search results in a tabular format. Knowledge on basic concepts of AngularJS is required before you proceed with the application development.
We will use Bootstrap CSS for content presentation. Bootstraps out-of-box classes are quick to use and works cross-platform.
We start by creating the basic folders to hold the required components:
- css - stores bootstrap.min.css and app.css(for application specific styling)
- data - stores .json data files
- js - stores application specific JS files
- lib - stores angular provided JS files
- views - stores template files for views
- index.html - holds the main template for our app
We will use open data API provided by data.gov.in to fetch query results
-
You know the basics of AngularJS like scopes, modules, bindings, controllers etc.
You can go-through W3Schools Angular tutorial to learn the basics.
-
Install Git on your system. Need help? Check this.
-
Clone the project repository in your current directory by running below command:
git clone https://github.com/kaashan/LearnAngularJSByExample.git -
Change your current directory to LearnAngularJSByExample (just do
cd LearnAngularJSByExample) -
Switch to branch dev/Sep16 by running
git checkout dev/Sep16
That's it. You are at ground-0 to begin from scratch. 😄