Next.js, express, mongodb, apollo graphql (need consultation)
LEADERBOARD
Your position on the leaderboard will be determined by the sum of your total wagers throughout the one week race period between Wednesday 7th June 1200 UTC and Wednesday 14th June 1200.
DEVELOPMENT NOTE:
PLAYERS WITH HIDDEN STATS MUST SHOW AS HIDDEN
REAL MONEY WAGERS ONLY CONSIDERED
This means only sum ‘used.realMoney’ on wagers in the Bets collection
USD/EUR/JPY amount must be calculated based on the value stamped on the wager e.g. marketPriceUSD / marketPriceEUR / marketPriceJPY
used.realMoney is in bignumber and is not decimalised correctly.
To get the actual amount of LTC/BTC/DOGE you need to divide by 100000000 (8 zeros)
E.g. used.realMoney is 2259887, which is 0.02259887 LTC
To get the actual amount of ETH you need to divide by 1000000000000000000 (18 zeroes)
Sample formula:
case([currency] = "eth", [used.realMoney] / 1000000000000000000, [used.realMoney] / 100000000)
DATE FILTER IS BASED ON bet.createdAt
DEVELOPMENT BRANCH IS feature-flush-races
For testing we can use different filters etc
https://metabase.flush.com/question/456-flush-weekly-races-leaderboard-data-testing-validation
Example MongoDB query:
[
{
"$match": {
"$and": [
{
"$or": [
{
"bet.game": "Inferno Joker"
},
{
"bet.game": "Star Joker"
},
{
"bet.game": "Mystery Joker 6000"
},
{
"bet.game": "Chronos Joker"
},
{
"bet.game": "Sticky Joker"
}
]
},
{
"$expr": {
"$gte": [
"$bet.createdAt",
{
"$dateFromString": {
"dateString": "2023-01-01T00:00Z"
}
}
]
}
},
{
"$expr": {
"$lt": [
"$bet.createdAt",
{
"$dateFromString": {
"dateString": "2024-01-01T00:00Z"
}
}
]
}
}
]
}
},
{
"$project": {
"_id": "$_id",
"bet.user._id": "$bet.user._id",
"bet.user.username": "$bet.user.username",
"bet.game": "$bet.game",
"bet.createdAt": "$bet.createdAt",
"bet.currency": "$bet.currency",
"used.realMoney": "$used.realMoney",
"bet.marketPriceJPY": "$bet.marketPriceJPY",
"bet.marketPriceUSD": "$bet.marketPriceUSD",
"bet.marketPriceEUR": "$bet.marketPriceEUR"
}
}
]
-
7621 34 0 Good day ! I am an experienced mobile app developer who has been working in Ukraine at the agency "KIT GLOBAL" for 7 years.👋After getting acquainted with your description, I can say that I have a great idea for your project.I would like to suggest you:
Development on Node.js with TypeScript, FireBase, Redux (saga), CLI, FireBase
Testing
Free support after publication
My portfolio is https://kitapp.pro/uk/portfolyo/
I think communication is a key factor for a successful project, so please tell me the time that is best suitable for you.✅✅✅Thank you for your time and attention.Let’s talk about your project!(the post was for discussion)
… With the best wishes,
by Alexis
-
194 Hello to you!
I am a full-stock developer with 4 years of experience in creating web products of different complexity. My skills include using Python with Flask and Django frameworks, as well as working with databases including MySQL, PostgreSQL and MongoDB.
Your application for the creation of the Leaderboard has attracted my attention. However, based on the current description, it is difficult to give a precise assessment of the project.
I’m ready to go to the task and develop the Leadboard according to your requirements. However, for a more accurate understanding and discussion of the project, I suggest you contact me. Also, keep in mind that this description contains a lot of technical details, so for better understanding and determination of specific requirements, we can discuss the project in more detail.
I will be glad to discuss the details of your project and propose the optimal solution for the Leaders Board implementation.
…
Thank you and hope for successful cooperation!
Current freelance projects in the category Javascript and Typescript
Development of the AM Mobility platform (car service, parking, insurance, car rental)
5770 USD
We are looking for a team or an experienced Full Stack developer to create the MVP of the AM Mobility platform. AM Mobility is a unified digital ecosystem for motorists, combining in one application and web platform: parking; car service; tire fitting; car wash; car rental;… Javascript and Typescript, Web Programming ∙ 2 days 12 hours back ∙ 101 proposals |
Gsap animations
22 USD
Good day. Corrections need to be made in the current project. A specialist is needed who works well with gsap/lenis. Animation of cards needs to be done. Detailed specifications here:… Javascript and Typescript, Web Programming ∙ 2 days 18 hours back ∙ 21 proposals |
Commercial on-premise video communication platform "ViM"It is required to develop an on-premise video conferencing system with a basic calculation for 100 simultaneous connections (10 isolated rooms of 10 people each). The platform should have a built-in architecture for future horizontal scaling up to 1000 users by adding new media… Javascript and Typescript, Web Programming ∙ 3 days 14 hours back ∙ 32 proposals |
I am looking for a mentor with Claude Code to launch a web project from scratch.Brief about the task: I am a beginner with no programming experience. I have a ready specification for website development (42 pages, Next.js, PostgreSQL). I want to implement it myself using Claude Code - I need a specialist who will set up the environment and teach me how to… Javascript and Typescript, Tuition ∙ 4 days 17 hours back ∙ 18 proposals |
Website design updateIt is necessary to update the design of the existing website using HTML, CSS, JS: refresh the appearance, make it modern and responsive for mobile devices. Smooth animations and interactive elements need to be added. HTML & CSS, Javascript and Typescript ∙ 5 days 11 hours back ∙ 90 proposals |