VOGONS

Common searches


First post, by keenmaster486

User metadata
Rank l33t
Rank
l33t

I've been working on this for a couple weeks.

https://github.com/keenmaster486/classicmedia

It's a content sharing website, intended to be accessible both from modern browsers and retro browsers.

Right now it is in a highly alpha stage, so it's at a temporary domain for now:

"Modern" version: http://www.therealcasablanca.com
"LoFi" version: http://lofi.therealcasablanca.com

If you're interested in this, go ahead and make an account and try it out! It's very spartan right now, but all of the structure and organization is there under the hood to keep adding more functionality.

I'd appreciate input on my code as well, for those of you who are familiar with full stack web stuff.

World's foremost 486 enjoyer.

Reply 1 of 2, by xjas

User metadata
Rank l33t
Rank
l33t

Well, I tried it. 😜 Sorry for the content-free post. #Sorrynotsorry

A couple comments:
- not sure why you're asking for a 'valid' email address when you're not doing any kind of email verification from what I can tell. Maybe best to just omit that for now. Or ask for a Vogons/VCF account name instead and let them do the work for you of weeding out the fakes.
- I hope you're not using a 1997 method of storing passwords!
- As much as I hate to say it, it's best to assume the database is going to get pwned by spambots & script kiddies at some point, unless you've made the backend much 'harder' than it looks. I used a BS password I made up on the spot (which I'm probably going to forget eventually (EDIT: I've already forgotten it)), and a junk email that doesn't correspond to my identity elsewhere. IMHO creating a 'fresh' codebase from scratch that asks for usernames & passwords in 2019 is asking for trouble.

(I didn't look through your code yet, because I'm not very good with it, but thanks for making it open source!)

Still, fun idea & happy to help out with testing.

twitch.tv/oldskooljay - playing the obscure, forgotten & weird - most Tuesdays & Thursdays @ 6:30 PM PDT. Bonus streams elsewhen!

Reply 2 of 2, by FuzzyLogic

User metadata
Rank Member
Rank
Member

Nifty project, and so far it looks nice. I'll be keeping an eye on your progress.

I'm assuming this is partly being done as a learning experience. For me, I couldn't imagine writing an entire web app in JS/Node. I only use it for little things because the lack of typing is infuriating. Also the unthreaded asynchronous nature leads to callback hell. I noticed some of that in your "controllers" code.

I would add some input validation (or is that done by by mongoose?) and a config file ASAP. Also, remove the node_modules folder from your repository; the user will install those on his own via npm.