marcus-crane / vgdates-backend Goto Github PK
View Code? Open in Web Editor NEW{ ๐๐๐ } => Personal release calendar for games (maybe movies and TV series later?)
Home Page: http://vgdat.es
License: MIT License
{ ๐๐๐ } => Personal release calendar for games (maybe movies and TV series later?)
Home Page: http://vgdat.es
License: MIT License
The import page relies on original_release_date
which doesn't exist.
Sometimes the API can instead have expected_release_day
, expected_release_month
and expected_release_year
which the import functionality doesn't account for yet.
expected_release_quarter
also exists but the user should just be told there's no date since I don't really want non-specific dates on the calendar. You'll start getting stuff like Persona 5 which was announced for Japan in Summer 2014 yet only came out earlier this year.
At the moment, I'm being dumb and just having two different copies of knexfile.js. One on my server which I don't push (using default 5432 port) and one locally with a docker port.
I also read https://www.dynatrace.com/blog/the-drastic-effects-of-omitting-node_env-in-your-express-js-applications/ which looks like I'm only screwing myself over by not setting up NODE_ENV properly.
Things are starting to get quite messy and need cleaning up as I start to add more features
Now that I'm about to update some parts of the code, I'm realising how nice having tests would be right now...
I forget exactly but generally, games in the US release on a Tuesday while games in the UK release on a Thursday due to some old tradition.
Games in Japan, if they're Japanese developed usually tend to release months earlier as they don't need to be localised.
You also have worldwide release dates where they all release at the same time and, while it doesn't affect me, there are sometimes re-releases in China or Korea months or years after the fact.
Part of that boils down to decide what should be on the list though. Should a AAA re-release in Korea years later be deserve to be on this list more than a hyped up indie game like Cuphead just because personally, I'm not interested in Korean release dates? Hmm, some toggles sound like a good idea...
A list of basics to test out
Desktop
Mobile
Other devices I can test on for the heck of it (and fun)
Get rid of all the silly placeholder stuff
It's kind of a pain to move this thing around...
Rather than source images manually, it's more efficient to just be able to retrieve from the Google Images API (Google Custom Search now) and select an image to use during the database import process.
That way, I can just pass them straight into #2 as well.
At the moment, the import page just lists the most relevant item without showing much data.
It's also the reason for the long delay as it fetches a long list then parses the first one all before rendering a page.
What it should do is just render the basics about all 5 or 10 then let the user pick which one and then fetch the other data in the background.
At the moment, the backend is wide open (which is fine since there's no data that's irreplaceable) but still.
Even just something basic for now would work fine since again, there's nothing irreplaceable nor is the thing even "live" as such.
I unlearnt using semicolons and I need to decide on whether or not I'm going to use them because there's no consistency in this project!
Eventually I'll probably use cookies (if Express isn't already by default) so I should move assets to a cookieless domain
I don't know about you but things could be a bit more "fun".
Moment.js has a calendar method where you can edit string so instead of having eg; tomorrow's date, we could have "It's coming out tomorrow!" or "Only 4 days left!"
It's just a nice extra though, nothing crucial.
If I'm going to be storing all this data, the least I can do is release it back into the wild in a nicer format than I found it.
Now that it's getting close to not having to manually enter data anymore, it'd be ideal to add back in some more fields:
At the moment, the Giant Bomb images are just saved as links but they aren't actually transported onto my own server for hosting which is pretty much a big no no
Eventually, I would like to have a cron job running at night, perhaps around midnight, that goes through any titles queued up and checks if they have dates yet.
That way, I can just load up the site and let it maintain itself for the most part. The only time it would theoretically need updates is with new announcements like E3.
I assume it would be possible to have an iCal feed so that users can use the site via Google Calendar or their other calendar of choice
If you go to any non-existent page, it just displays [object Object] so something isn't right.
It only seems to be the case with the production error handl-
Oh duh, because there's no 404 page to serve in place of the development env's stack trace, that's why haha
Oh, I actually don't like using that word since it's just a hobby project but it's accurate, haha!
I purchased the domain name http://vgdat.es (as in videogame release dates) which is nice and short to type so here's what would need altering:
A request from @TheReaganMorris on Twitter for months to be collapsable. Makes sense if there's a particularly rubbish or non-relevant month although ideally I'll just add filtering and get around that.
This would have #37 as a pre-requisite but once that's done, the site could probably send a push notification to my phone.
I'd find that nice and useful as someone who isn't always checking games coverage outside of large events.
Aside from the somewhat sketchy legalities of storing images that technically aren't mine in a Github repo, it's not feasible to keep storing images in the repo with an only expanding roster of titles in the seed file.
This has been an issue for a while but worth addressing so my logs will be cleaner
Deprecation warning: value provided is not in a recognized ISO format. moment construction falls back to js Date(), which is not reliable across all browsers and versions. Non ISO date formats are discouraged and will be removed in an upcoming major release. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.
Arguments:
[0] _isAMomentObject: true, _isUTC: false, _useUTC: false, _l: undefined, _i: January 21 2017 GMT, _f: undefined, _strict: undefined, _locale: [object Object]
It works for now but it just needs a slight modification to the format.
A heck of a lot of the routes repeat the object creation logic whereas really it should just be a function that takes parameters and builds the object or something.
Pretty sure I git stashed at one point and forgot to put the checks back into the routes
At this point, it doesn't really reflect the state of the project as much?
I keep forgetting that I need some sort of about page or something.
Also for credits with anyone that helped/helps me out
Now that the project uses Rethink, the Docker info is out of date (and I use it myself so good to have it updated)
When using Opera, the background doesn't stretch to fill the entire div and instead just repeats.
I'm a fan of sites like NPM and others I can't think of where the tagline rotates every time you visit the site. That'd be neat to have.
It doesn't really do much at the moment but better now than later I suppose for noting how to use the tiny API this project has.
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.