This video will be available to
subscribers on Tue, Nov 4, 2025.
You must be a subscriber to view this video.
Nov 4, 2025
15m:13s

File-Based Storage

Classification
Software Engineering | Languages | JavaScript | Node
Keywords
javascript | node

About This Episode:

Ever wondered how to persist data without setting up a full database? In this episode, we explore file-based storage in Node.js โ€” a simple way to read, write, and manage data using the filesystem.

Perfect for small projects, prototypes, or when you just need to get things done quickly โš™๏ธ๐Ÿ’พ

๐Ÿ‘‰ Youโ€™ll learn how to:
- Read and write JSON files asynchronously using fs/promises
- Implement full CRUD (Create, Read, Update, Delete) operations
- Handle data safely and understand file-based storage limitations
- Prepare your app for a transition to a real database later


๐Ÿ’ก Relevant Links
Node.js Docs:
- Reading Files: https://nodejs.org/en/learn/manipulating-files/reading-files-with-nodejs
- Writing Files: https://nodejs.org/en/learn/manipulating-files/writing-files-with-nodejs

Previous TekCasts series:
- JavaScript for Beginners: https://tekcasts.com/play/javascript-for-beginners-what-is-javascript
- JavaScript in the Browser: https://tekcasts.com/play/javascript-in-the-browser-browser-runtime-environment
Bob Cravens

Bob Cravens

Your Instructor
more »
Owner
TekFoundry
Wisconsin
United States
Short Bio:
Bob Cravens is a seasoned technology leader, software architect, and educator with a passion for empowering others through practical, real-world knowledge. As the founder of TekFoundry, Bob has dedicated his career to designing and delivering innovative software solutions that combine cutting-edge technology with elegant simplicity.

At TekCasts, Bob leverages over two decades of experience in software engineering, application architecture, and team leadership to create engaging, high-impact courses for developers and technology professionals. His instructional style is rooted in practical application, offering insights drawn from his extensive background in industries like medical devices and global technology consulting.

Bobโ€™s expertise spans a variety of technologies and methodologies, including PHP/Laravel, FastAPI, and DevOps, as well as architecture best practices and team dynamics. Whether teaching foundational concepts or advanced strategies, heโ€™s passionate about helping others turn complex challenges into streamlined solutions.

When not crafting elegant code or inspiring the next generation of tech innovators, Bob enjoys exploring the intersection of technology, business strategy, and creative problem-solving.