Research: npm packages - imkarin/bloktech GitHub Wiki
Research: npm packages
Here is an overview of several npm packages that might be useful for my project.
Nodemon
Nodemon is a popular developer tool that makes developing node.js based applications easier. Everytime file changes in your directory are detected, it restarts the node application for you.
Source: npmjs package: nodemon (15/2/2020)
Socket.io
Writing a web application with popular application stacks like LAMP (PHP) has always been a very difficult process. Sockets have been the solution that most real-time systems use, providing a bi-directitonal communication channel between the client and the server. Basically, the server gets data from a client, and will push this to all other connected clients.
This can be very useful for my application. An example of its use would be, that the user gets a notification when someone has liked his profile.
Source: socket.io (10/3/2020)
Mongoose
Mongoose is a popular tool for MongoDB. It helps you with object modeling and is designed to work in an asynchronous environment.
MongoDB itself is a schema-less NoSQL document database, meaning you can store JSON documents in it. The structure of these documents can vary. Mongoose helps you structure your database and lets you create schemas and models.
A Mongoose model is a wrapper on the Mongoose schema. A schema defines the structure of the document, default validators, values etc - the model provides an interface to the database for creating, querying, updating, deleting etc.
Source: freecodecamp: introduction to mongoose (7/3/2020)