Thursday, July 2, 2015
In this blog we are going to create an AngularJS application from scratch we would go step by step and create every file from scratch.
Step-By-Step Instructions:
1. Create an application folder call ACME Bank with the following structure, don't worry about the bower.json and the .bowerrc file yet.
2. Create the bower.json file, then add the following lines in the file. The file basically pulls in the dependencies that the application will need. The most important part of the file is the "dependencies" portion.
3. Create the .bowerrc file and change the directory to "app/js/lib", the final markup should look like the following
Note: If you need more information on bower you can visit this blog that I wrote about it. If you don't have bower install. Type npm install -g bower to install bower globally, meaning you can now use bower anywhere.
Now type in the command bower install where the bower.json file is located at, and the components in the bower.json file will be installed in the apps/js/lib folder
Posts In The AngularJS SPA Application Series:
Step-By-Step Instructions:
1. Create an application folder call ACME Bank with the following structure, don't worry about the bower.json and the .bowerrc file yet.
2. Create the bower.json file, then add the following lines in the file. The file basically pulls in the dependencies that the application will need. The most important part of the file is the "dependencies" portion.
{ "name": "angular-seed", "description": "A starter project for AngularJS", "version": "0.0.0", "homepage": "https://github.com/angular/angular-seed", "license": "MIT", "private": true, "dependencies": { "angular": "~1.7.2", "angular-route": "~1.7.2", "angular-loader": "~1.7.2", "angular-mocks": "~1.7.2", "html5-boilerplate": "^6.1.0", "bootstrap": "~4.1.1" } }
3. Create the .bowerrc file and change the directory to "app/js/lib", the final markup should look like the following
{ "directory": "app/js/lib" }
Note: If you need more information on bower you can visit this blog that I wrote about it. If you don't have bower install. Type npm install -g bower to install bower globally, meaning you can now use bower anywhere.
Now type in the command bower install where the bower.json file is located at, and the components in the bower.json file will be installed in the apps/js/lib folder
Posts In The AngularJS SPA Application Series:
- Setting Up Angular-Seed
- Preparing Angular-Seed For The ACME Bank Application
- Refactor Code to Not Use Global Variables (ACME App)
- Installing MongoDB
- Create a MongoDB Configuration FIle
- Install mongoDB as a Windows Service
- Installing Express generator
- Installing ExpressJS Application Server
- Creating The SPA Project Folder Structure
- Setup Express To Serve Static Files
- Setup The ACME Bank Application For Heroku And Testing It Locally
- Deploy ACME Bank Application To Heroku
- Install RoboMongo GUI for MongoDB
Subscribe to:
Post Comments (Atom)
Search This Blog
Tags
Web Development
Linux
Javascript
DATA
CentOS
ASPNET
SQL Server
Cloud Computing
ASP.NET Core
ASP.NET MVC
SQL
Virtualization
AWS
Database
ADO.NET
AngularJS
C#
CSS
EC2
Iaas
System Administrator
Azure
Computer Programming
JQuery
Coding
ASP.NET MVC 5
Entity Framework Core
Web Design
Infrastructure
Networking
Visual Studio
Errors
T-SQL
Ubuntu
Stored Procedures
ACME Bank
Bootstrap
Computer Networking
Entity Framework
Load Balancer
MongoDB
NoSQL
Node.js
Oracle
VirtualBox
Container
Docker
Fedora
Java
Source Control
git
ExpressJS
MySQL
NuGet
Blogger
Blogging
Bower.js
Data Science
JSON
JavaEE
Web Api
DBMS
DevOps
HTML5
MVC
SPA
Storage
github
AJAX
Big Data
Design Pattern
Eclipse IDE
Elastic IP
GIMP
Graphics Design
Heroku
Linux Mint
Postman
R
SSL
Security
Visual Studio Code
ASP.NET MVC 4
CLI
Linux Commands
Powershell
Python
Server
Software Development
Subnets
Telerik
VPC
Windows Server 2016
angular-seed
font-awesome
log4net
servlets
tomcat
AWS CloudWatch
Active Directory
Angular
Blockchain
Collections
Compatibility
Cryptocurrency
DIgital Life
DNS
Downloads
Google Blogger
Google Chrome
Google Fonts
Hadoop
IAM
KnockoutJS
LINQ
Linux Performance
Logging
Mobile-First
Open Source
Prototype
R Programming
Responsive
Route 53
S3
SELinux
Software
Unix
View
Web Forms
WildFly
XML
cshtml
githu
best makeup artist in gurgaon
ReplyDeletebest makeup academy in gurgaon
Aivivu chuyên vé máy bay, tham khảo
ReplyDeletevé máy bay đi Mỹ giá bao nhiêu
vé máy bay từ texas về việt nam
vé máy bay từ Toronto về việt nam
chuyến bay từ nhật về việt nam
đặt vé máy bay từ hàn quốc về việt nam
Vé máy bay từ Đài Loan về VN
Chuyen bay cho chuyen gia nuoc ngoai
First time reading this blog thanks for sharing.
ReplyDelete