Closed Oliversw closed 5 years ago
@founders-programme-2/business-launchpad
Some basic set up that you'll need to do to use MongoDb:
A record in MongoDB is a document, which is a data structure composed of field and value pairs. MongoDB documents are similar to JSON objects. The values of fields may include other documents, arrays, and arrays of documents.
https://docs.mongodb.com/manual/tutorial/install-mongodb-on-windows/
https://docs.mongodb.com/manual/tutorial/install-mongodb-on-os-x/
brew tap mongodb/brew
brew install mongodb-community@4.0
mongod --config /usr/local/etc/mongod.conf
OR
brew services start mongodb-community@4.0
Run in a new terminal window
mongo
Download: https://www.mongodb.com/download-center/compass?jmp=hero
Mongoose is an Object modeling tool for MongoDB.
Mongoose is built on top of the MongoDB driver to provide programmers with a way to model their data.
It manages relationships between data, provides schema validation, and is used to translate between objects in code and the representation of those objects in MongoDB.
It will be included in the package.json
Ideally with a test database as well
relates to #18