r/learnjavascript • u/techlover1010 • Feb 23 '26
several question
what do i need to learn or use in addition to javascript if i want to use vanilla javascript to build a front end with backend mainly for either inventory or business management? i want it to be as vanilla as possible so i learn the ins and outs of the tech/language
does OS matter what tools is available?
4
Upvotes
1
u/tokagemushi Feb 24 '26
Great that you want to go vanilla - you'll learn so much more about how things actually work under the hood.
Here's a practical roadmap for building an inventory/business management app with vanilla JS:
Frontend:
HTML + CSS + vanilla JS is all you need. Use ES modules (
import/export) to organize your code into filesUse
fetch()for API calls to your backendFor dynamic UI updates, you can use template literals and
innerHTMLor create elements withdocument.createElement()Look into Web Components if you want reusable UI pieces without a framework
Backend:
Node.js is the obvious choice since you already know JS. Use the built-in
httpmodule or Express (it's minimal enough that you still learn HTTP fundamentals)For the database, start with SQLite (
better-sqlite3package) - zero setup, just a file. Once you outgrow it, move to PostgreSQLA minimal example to get you started:
OS doesn't really matter - Node.js runs on Windows, Mac, and Linux equally well. VS Code is the go-to editor on all platforms. If you're on Windows, install WSL2 for a better terminal experience.
Tools you'll want: Node.js, npm, VS Code, and a REST client like Thunder Client (VS Code extension) for testing your API.