express-workshop icon indicating copy to clipboard operation
express-workshop copied to clipboard

Added appending to data file instead as a strecht goal

Open simbs opened this issue 9 years ago • 0 comments

During the workshop I changed the code to be able to only append a new post to the data file instead of reading all of it, parsing, adding to the string and rewriting everything. However, the way I've done it means posts.json is no longer a true JSON file, so I don't think this version should replace the original method which allows to explain what JSON is.

I haven't added my solution to it, let me know if you think I should include it (and where!).

simbs avatar Jul 02 '16 18:07 simbs