dartmouth-cs98 / 18w-coinduel-backend Goto Github PK
View Code? Open in Web Editor NEWBackend server for CoinDuel app.
Backend server for CoinDuel app.
figure out a way to initialize games using CryptoCompare
Either correct use of Heroku automatic scheduler or find a different one for creating/closing CoinDuel games
https://devcenter.heroku.com/articles/scheduled-jobs-custom-clock-processes
^apparently a better and more reliable alternative to scheduler. even heroku's own website states that scheduler is free and can commonly miss or duplicate tasks and is unreliable for scale.
-Create endpoints to categorize and send data to display HQ style leaderboard for frontend.
A little vague for now, but will become clearer as term progresses.
https://min-api.cryptocompare.com use this for all coin price/historical data for consistency
Setup app on heroku to allow connection between backend/frontend
Create necessary endpoints and models/routes to interact with Heroic mongo backend
Clean up any unused endpoints or combine endpoints between the Game and Leaderboard controller to make the flow more efficient
Previously /coin/TICKER returned "price" and "name" as values, now it only returns the price as a number
Usage:
might want to not send back the plaintext passwords. not a huge deal but if someone is looking for something to clean up, comparing salted+hashed passwords is the way to go, where you can't ever decrypt it. as this progresses probably you'll want to add in auth tokens - as your routes could be hacked pretty easily without that.
getAllTimeRankings (api/leaderboard) returns {"error":{}} if there is no game in the database with finish_date greater than the current date
Perhaps implement our own scheduler to create new games instead of using Heroku's
Essentially create a PUT endpoint to add a new user to our app
Deploy backend for api calls
Specific errors are not caught on signup - custom error messages should be sent back.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.