A short introduction to using promises module for nodejs apps.
Covering the basic concepts of promises with nodejs. Utilizing the promises module to achieve proper Promise functionality.
promises Documentation:
https://www.promisejs.org/
What things you need to install the software and how to install them
node
promise
pg module
To use the examples provided:
1. Clone repo.
2. Choose desired folder.
3. Run 'npm install' so as to get the required dependencies.
4. Run node apps.
Have fun :)