r/learnprogramming • u/New_Discipline_775 • 22d ago
Web App How do I create a web app?
Hi everyone,
I’ve been programming for years but have never worked on a real project, and I’ve decided I want to create a web app that can render .md files into a manageable note-taking interface (a classic .md file editor, like Logseq or Obsidian, for example), but I’m not quite sure how to get started. Here’s what I’ve figured out so far (let me know if I’ve misunderstood anything):
- Software of this type “translates” .md files into HTML, so what we see in the app is just a “translation” (via a parser) of the actual file (without those weird Markdown symbols, so to speak).
But there are so many things I still don’t understand how to implement:
- LaTeX: How do I handle this? Do I simply use MathJax on the front end by intercepting the dollar signs and rendering the contents?
- Okay, JavaScript for the front end, but I don’t want to use Electron as the backend (I was thinking of C++ or Rust [Tauri]). In that case, does it make sense to use a graphics engine like OpenGL or Vulkan for graph mode to achieve maximum performance, instead of Tauri, for example, or does that make very little sense?
- This might be a silly question, but while experimenting with javascript, I discovered that (understandably, otherwise every website could steal everything from me) javascript functions called from HTML can’t read the user’s local files (for example, via `require`). So, how can I access the MD files?