Thursday, March 2, 2017
Now that we have our AngularJS environment set up we need a database. We are going to use MongoDB as a database. MongoDB is a NoSQL database which is a perfect fit for JavaScript centric applications that we are building. To install MongDB go to https://www.mongodb.com/download-center?jmp=nav#community to make sure you are installing the "Community Edition" of MongoDB. On the "Community Server" tab select the operating system that you will be installing MongoDB in, then click on the "Download button.
Once the download is completed double click on the .msi file
Click "Next" on the welcome screen.
Accept the terms and services, then click "Next"
Select "Complete"
Select "Install MongoDB as a Service" and accept the defaults, then click "Next"
Click "Install"
Accept the Windows "User Account Control" prompt and MongoDB will automatically install
Click "Finish"
Now if you look at the Windows Services dialog you will see that MongoDB was added to the services
Open the command line and navigate to the MongoDB "bin" install path which should be
C:\Program Files\MongoDB\Server\4.0\bin
Type mongo and you should be connected to your MongoDB instance
C:\Program Files\MongoDB\Server\3.4\bin
In order for MongoDB to run you will need to create a directory in Windows where the data will be stored. Type "md \data\db"
Now that the data directory has been created you can run MongoDB with command "mongod"
If you get a Windows firewall alert click on the "Allow access" button
You now have MonoDB running on port 27017, to stop MongoDB type Ctrl+C . That's it! Pretty simple right, compared to other databases MongoDB is a lot more simple to setup.
Once the download is completed double click on the .msi file
Click "Next" on the welcome screen.
Accept the terms and services, then click "Next"
Select "Complete"
Select "Install MongoDB as a Service" and accept the defaults, then click "Next"
Click "Install"
Accept the Windows "User Account Control" prompt and MongoDB will automatically install
Click "Finish"
Now if you look at the Windows Services dialog you will see that MongoDB was added to the services
Open the command line and navigate to the MongoDB "bin" install path which should be
C:\Program Files\MongoDB\Server\4.0\bin
Type mongo and you should be connected to your MongoDB instance
For Older Versions:
C:\Program Files\MongoDB\Server\3.4\bin
In order for MongoDB to run you will need to create a directory in Windows where the data will be stored. Type "md \data\db"
Now that the data directory has been created you can run MongoDB with command "mongod"
If you get a Windows firewall alert click on the "Allow access" button
You now have MonoDB running on port 27017, to stop MongoDB type Ctrl+C . That's it! Pretty simple right, compared to other databases MongoDB is a lot more simple to setup.
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
Your blog provided us with valuable information to work with. Each & every tips of your post are awesome. Thanks a lot for sharing. Keep blogging.. click over here now
ReplyDeleteI read your blog frequently and I just thought I’d say keep up the amazing work! alternatives to google maps
ReplyDeleteEnsured to discover a spa treatment to suit you, this day spa will provide food for all your needs. On the off chance that you are uncertain of what spa treatment to have let your magnificence advisor suggest the ideal spa treatment for your way of life. アロマエステ
ReplyDeleteFor certain individuals their degree of solace might be to keep the entirety of their garments on. 수원건마 추천
ReplyDeletegreat
ReplyDeletegreatI read your blog frequently and I just thought I’d say keep up the amazing work!
ReplyDelete스웨디시
오랫동안 찾았던 제 질문에 대한 좋은 글과 대답입니다. 제가 당신의 서비스를 테스트해 보겠습니다.
ReplyDelete마사지
Aivivu - đại lý chuyên vé máy bay trong nước và quốc tế
ReplyDeletevé máy bay đi Mỹ Vietnam Airline
khi nào có chuyến bay từ mỹ về việt nam
vé máy bay từ đức về việt nam
chuyến bay nhân đạo từ nga về việt nam
chuyến bay từ anh về việt nam
lịch bay từ pháp về việt nam
Chuyến bay cho chuyên gia nước ngoài
Thanks for the several tips shared on this weblog. I have seen that many insurance carriers offer shoppers generous savings if they favor to insure a couple of cars together. A significant quantity of households have got several cars or trucks these days, particularly those with older teenage kids still living at home, as well as savings upon policies may soon begin. So it is good to look for a good deal. fnf mods unblocked
ReplyDeleteThank you, Thank You, Thank you, I needed this article for a while and I am happy to stumbled upon it.
ReplyDelete