This post details the setup process for a NoSQL database with MongoDB. Firstly, go to the MongoDB website and navigate to the Download Center. Download the correct version and run the installer. For ease of access, customise the location to be on the C drive root. In the command line, go to the bin within the mongodb folder. Return the below in order to set up the directory and logging. After hitting enter, the following will be displayed. The MongoDB service is now started and we can go ahead and view and customise some no-SQL databases. Returning "show dbs" in the command line will display the current databases. We can see we have a local and admin database. To create a new database, for example "mycustomers" we have to return "use mycustomers". If the "mycustomers" database already existed, then the "use mycustomers" command would not create a new database, but instead make "mycustomers" the active database. ...
My name is Ben and I am a software developer from Sussex, England. The purpose of this blog is to keep a record of technologies I utilise throughout my career as a software developer. I believe that not only will this further cement my understanding of these technologies, but also serve as a useful personal resource for future work.