Home Tab APIs: 1)a-User Pending requests : (get)HelpRequest.find({state : pending}) b-User Pending Offers : (get)Offers.find({state : pending}) onClick #1 : details Screen (get) : HelpRequest.findOne({id}) || Offers.findOne({id}) 2)Sponsors: (get) : Sponsor.find({}) 3)a-Mission completed : (get) : Offers.find({state : completed , { "createdAt": { $gt: new Date(Date.now() - 24*60*60 * 1000) } }) b-countDocuments(Offers.find({state : completed , { "createdAt": { $gt: new Date(Date.now() - 24*60*60 * 1000) } })) c-
×
Sign in
Email
Password
Forgot password
or
By clicking below, you agree to our
terms of service
.
Sign in via Facebook
Sign in via Twitter
Sign in via GitHub
Sign in via Dropbox
Sign in with Wallet
Wallet (
)
Connect another wallet
New to HackMD?
Sign up