Habbo Archive || All Retro Files

Status
Not open for further replies.

LeChris

https://habbo.codes/
Sep 30, 2013
2,786
1,395
u2mkiIx.png


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
 

Jaden

not so active
Aug 24, 2014
886
263
u2mkiIx.png


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
Take a look at Sequelize ORM rather than using the mysql npm


Morgan is useful for logging in regards to HTTP servers, middleware for Express


Don't use Socket.io just because people tell you to use it.
Goodluck, noob.
 
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.
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.
 

LeChris

https://habbo.codes/
Sep 30, 2013
2,786
1,395
Take a look at Sequelize ORM rather than using the mysql npm


Morgan is useful for logging in regards to HTTP servers, middleware for Express


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.
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 :p
 

Jaden

not so active
Aug 24, 2014
886
263
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 :p
Everything looks pretty kleen. Although you should look into using ES6 features, much more convienent and work just the same.

For Example:
PHP:
app.post("housekeeping/error_logs", function(req, res) {});

app.post("housekeeping/error_logs", (req, res) => {});
 

LeChris

https://habbo.codes/
Sep 30, 2013
2,786
1,395
This will follow along the updates per Retaliation 3

-Updates
-Async library implemented for code organization
-Redis used for sessions now for small speed enhancement
 
Status
Not open for further replies.

Users who are viewing this thread

Top