Macemore
Circumcised pineapples
Lol well I just read your post and it seems like most of it is done? If not what's left and is there a download for it?No progress as of lately, mid teenage year crisis, lel.
Lol well I just read your post and it seems like most of it is done? If not what's left and is there a download for it?No progress as of lately, mid teenage year crisis, lel.
Take a look at Sequelize ORM rather than using the mysql npm
Hey guys,
It's been quite a while since I messed with this project or even thought about it. Lately, I been learning and developing using Node so here's a brief announcement:
I have begun redeveloping this project using my Node base, and so far am caught back up to point with the following features:
-User System
-User Dashboard
-Directory Browsing (Sub Directories, Pinned Files)
More to come, do not rush nor message me regarding this project as it's a not my primary concern when I have to manage numerous other actual non-habbo websites for private organizations in my town. It will be completed and available when used
The following modules are used:
Express, Mysql, Passport, Bcrypt
The following modules will be added to be used later:
Async, Socket.io (Possibly)
Speed is acquired through the usage of database pools at the moment, one pool per route
pce
Forgot to reply to this, but what he said was not valid...Speed over anything else? That's a horrible lingo
But yeah, no. Security should always come first. I'm sure you can spare 1 extra second for bcrypt to validate a user at login only.
Speed is crucial if you're downloading a file, or casual browsing.Take a look at Sequelize ORM rather than using the mysql npm
You must be registered for see links
Morgan is useful for logging in regards to HTTP servers, middleware for Express
You must be registered for see links
Don't use Socket.io just because people tell you to use it.
Goodluck, noob.
Forgot to reply to this, but what he said was not valid...
It all depends on the circumstances and what you're referring to when you say "secure" ... what are you securing? This is a file sharing website.. speed is crucial, security is essential. In regards to the fact that this is specifically a Habbo Hotel file sharing site, bcrypt is unnecessary.
Everything looks pretty kleen. Although you should look into using ES6 features, much more convienent and work just the same.Speed is crucial if you're downloading a file, or casual browsing.
User data is used to help provide more features such as uploading your own releases, and so on so protecting their accounts is even more important.
I don't use any http loggers, because it simply isn't useful to me at the moment and I prefer the way the normal mysql package handles things at the moment as well as providing reliability (Plus I love how it auto escapes queries, ie ('SELECT * FROM users WHERE id = ?', [req.user.id],
But, I'll take a look at it for my rp cms
Socket will also be used to update information in real time, if I decide to add it in - however, most likely not since it'll not be used enough.
Thanks, @Jaden
Update:
-Staff tools have been coded
-Ability for staff to "pin files" (Add a file from the uploads to a directory)
-Ability for staff to create a new virtual directory
-Some user tools have been added
-Ability to "pin" a directory, thus it'll be shown via the dashboard
Features in development
-User uploads
-User profiles
-Rating files
-Hopefully a cleaner design?
You must be registered for see images attach
On the left is a picture, on the right is the staff_tools route
@Jaden rate my coding style, I'm new to Node so advice is needed
app.post("housekeeping/error_logs", function(req, res) {});
app.post("housekeeping/error_logs", (req, res) => {});