0

So I want to write a simple task manager as a part of my learning process using javascript and run it without a server. I want to be able to save/load so-called "projects" - lists of related tasks and their corresponding status (in-process/done). These projects must be stored in different data files on my disc drive (in txt files for exmpl)

What is the simplest way to achieve that ? What are the alternatives ? I am very new to programming and would appreciate some help

ColdSpark
  • 1
  • 1
  • I think you're going to have to explain yourself better, put code, examples ... – javimovi Nov 28 '18 at 10:37
  • 2
    You won't be able to combine "without a server" and "stored [...] on my disc drive" as the browser can't save data to your drive. Either fire up a Node.js server (which allows you to use Javascript for the server side as well, so it should fit your learning requirements), or create a REST backend in some other language. – JLe Nov 28 '18 at 10:40
  • @JLe That’s not quite right. Have look here: https://stackoverflow.com/questions/13405129/javascript-create-and-save-file And (if you don’t insist on saved files) you can use your browsers local storage, too. All just for local use! – Matthi Nov 28 '18 at 10:49
  • @Matthi Fair enough, but the complexity of not only using, but also writing code to support download/upload of files as replacement of save/load just ins't worth it. But local storage is a great solution though. – JLe Nov 28 '18 at 10:52
  • Thanks, It's pretty complicated but possible – ColdSpark Nov 28 '18 at 11:03

0 Answers0