Generally, new angular JS developers use only one controller while writing the script. But if we have to use multiple controllers here is how we can use it:
Month: November 2017
AWS: Dynamo DB
Dynamo DB is the managed NoSql service from the the AWS. Dynamo DB supports both documents and key-value pairs for storage models. It is scalable and flexible. Important features: Unlimited elastic storage, no hardware choices, pay only what you use. The core structure of dynamo DB is a table only. Provisioned Througput Capacity (PTC) = … Continue reading AWS: Dynamo DB
AWS: Elastic Beanstalk
Elastic Beanstalk is an application to run your services and scale them on AWS. Under the covers, it simply running your code on EC2 instances. But advantage of Beanstalk is that it add more features. Drawbacks of deployment of an application on EC2: Manual configuration. Manual code deployment. Restricted command line interface. Scale with AMIs. … Continue reading AWS: Elastic Beanstalk
Route53 is Amazon service for DNS management for both inside and outside AWS. It allows you to easily configure domain names to resolve to internal Service domain names. You can register domain names you already own or register through AWS. http://www.example.com → route53 ← EC2 app Route53 is core to letting users interact in AWS. … Continue reading AWS: Route53
AWS: Relational Database Service – RDS
Relational Database Service also known as RDS is a collection of AWS services for managed relational databases. We call the database as managed because AWS takes care of: Scheduled automated backups Simple Software Backups Managed infrastructure for the database If your database is hosted on EC2 then you have to figure out about database backups, … Continue reading AWS: Relational Database Service – RDS
AWS: Simple Storage Service(S3)
Amazon Simple Storage Service known as S3 is used to store files. The max files size that can be stored is 5TB. The files can be stored in a structure called buckets. A bucket is your root resource in which you add, delete or modify objects. There are all sorts of configuration options that you … Continue reading AWS: Simple Storage Service(S3)
AWS: Elastic Cloud Compute – EC2
Elastic Cloud Compute known as the EC2 in short is one of the core service form AWS operating from multiple data centers around the world. What does EC2 do? EC2 is can be used to run applications, create virtual desktops, use 3rd party software with it and most importantly computing. What does "Elastic" mean basically? … Continue reading AWS: Elastic Cloud Compute – EC2
What is AWS?
AWS known as Amazon Web Services is the leading cloud service provided by Amazon. AWS is mainly used for developing applications that need to be scale quickly. Like the web application. AWS provides scalability and flexibility on which you can thrive on to develop apps. There are many services which are offered by AWS but … Continue reading What is AWS?
Building a REST API in NodeJS, Express and MongoDB
REST stands for Representational state transfer. A REST API defines a set of functions which developers can perform requests and receive responses via HTTP protocol such as GET, POST, DELETE, PUT, PATCH. A Real World Example: Facebook provides a REST API which you can query to get the number likes, you can provide a search … Continue reading Building a REST API in NodeJS, Express and MongoDB
Connecting MongoDB with Node Js
To use mongo Db with the Node Js here we can use Mongoose npm package and mlab.com as mongo db cloud service provider...
Nodejs on the rocks: Express.js
MEAN Express JS is a web framework which makes it easier to build a web server in Node JS. Express helps in writing the NodeJS code cleanly. Installation npm install express --save Building and running HTML on a web server No need to mention header with Content-Type etc. like done before in nodejs. var express … Continue reading Nodejs on the rocks: Express.js