I’m new here and new to javascript in general but I’m in an online bootcamp learning and I need some basic help. I don’t mind to read up and teach myself I just need to be pointed in the right direction.
I need to demo meteor for a client who wants a live auction bidding system where online viewers can place bids alongside people who are physically at the auction location.
You need to add a field to attach a bid amount to each bid. You should be able to replicate the code for the task name in order to add a bid amount. Then you’ll have that information in the database.
The template for your ‘highestbidder’ should then subscribe to a query looking similar to the following: Tasks.find({}, {sort: {bidAmount: -1} }).limit(1);
I’d suggest you look at a tutorial such as http://meteortips.com/first-meteor-tutorial/ - which helps you create a leaderboard which is pretty similar to what you are attempting to do.
first you gotta log in and then you can either bid or or sell stuff…it has notification too…sorry the buttons in the front page doesn’t work. If you want I can change them for ya…but you gotta reply first here mate whether you want it
Meteor tells me the package requires an update. I tried running locally
without updating and I got it to load up but the buttons are still just
linked anchor tags.
ya I didn’t update it to the latest but isn’t the problem. you need to enter a bid though…otherwise you wont be able to see anything as the database is empty when you have just git cloned from github. The routes/buttons works fine. You need to , make an account and login. Then create a bid to see whats going on.