Todo app isnt' saving to Mongo's DB
See original GitHub issueI’ve been doing ~7hours of non-stop Googling and research about why my Todo app isn’t replicating what is visible in the Wikis.
I generate as follows:
What is the name of your app? tapman
What is your username? TheBrenny
What is your email (used in your package.json)? thebrenny@brennytizer.com.au
Which stack do you want? fullstack
Which Git repository hosting service are you using? github
Which framework do you want to use in the client side? vue2
Which CSS pre-processor do you want to use? sass
What language do you want in the server side? node
Which framework do you want to use in server side? express
Which transpiler do you want to use in server side? node
Is it going to be a secure app (HTTP/2)? No
Do you want to keep tests in a different folder? Yes
Do you want to use a different static server? Such as NGINX, Apache, IIS, etc? No
I’ve generated using Angular as well, and have come to the conclusion that it’s an issue with Vue. For some reason, adding an item doesn’t update the database, and hence deleting an item won’t throw an error because it’s not reaching the database. I’m going to look through the code side-by-side to try and find any discrepancies, but I feel that lodging an issue would speed up the process of fixing it.
Issue Analytics
- State:
- Created 6 years ago
- Comments:5 (5 by maintainers)
Top Results From Across the Web
ReactJS + Redux: Why isn't MongoDB saving data to the ...
I am making API calls from action creators in redux, and reach the API server and get a successful status back, yet the...
Read more >Persisting a Todo List With MongoDB and Geddy - Code
Much simpler than the save method, don't you think? We use the db.todos.find() method to get all the items in the todos collection....
Read more >Save data to MongoDB with Mongoose - YouTube
In this vide, I am going to show you exactly how to save data to your MongoDB database with Mongoose in a Nodejs...
Read more >Mistakes You're Probably Making With MongooseJS, And ...
MongoDB uses named collections of arbitrary objects, and a Mongoose JS Model abstracts away this layer. Because of this, we don't have to...
Read more >Saving Data to MongoDB Database from Node.js Application ...
We are going to allow users to enter a first name and a last name that we will be saving in the database....
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Haha, awesome catch, @TheBrenny.
Thanks for all the info!
Found the issue. Vue 2 no longer has the
ready
function. It’s been replaced bymounted
. That’s why I was never receiving the latest posts. (See this SO answer for future reference)Wowee. What an adventure!