Workaround the #node JS File System
▻https://hackernoon.com/workaround-the-node-js-file-system-a596408b1dcf?source=rss----3a8144eabf
Photo by Mr Cup / Fabien Barral on UnsplashHello, fellow members of the night’s watch. We will be looking at one of Node’s core API’s, the File System. I know we’ve been concerned with code splitting, bundle splitting, preloading and the never ending woes of the Internet Explorer, but we will be learning how Node interacts with our files and directories. This helps us handle images or assets on our server, store them properly, read the content of other files, write to files,etc.We will be building a basic CRUD application using the file system. I think we can get started.Our little folder structure should look like this:Database-----(folder)crud.js------(file)The ‘Database’ folder is going to contain a file, that will hold our Automobile business data. This data is going to comprise of the (...)