All Questions
4 questions
2
votes
2
answers
154
views
How should I store time stamps so that it's easily accessible and won't take too much space
tldr at the bottom if you don't want to read all this! :)
First of all the db I'm using is MongoDB! So I've been building a fun project and all has been well but I hit a small problem. Effectively, ...
3
votes
2
answers
610
views
How to test database dependent functionalities?
I have written this function which checks if a user already exists in the application:
async function ValidateUserExists(username, email){
if(!username || !email) throw new Error('Invalid number ...
0
votes
0
answers
382
views
Persisting and manipulating JS ArrayBuffer data on the server
My node.js app has to deal with (sometimes large; a few MB) tables of numerical data. I'm about to use JavaScript's native binary objects for this purpose (i.e. ArrayBuffer and friends), because they'...
1
vote
1
answer
553
views
2 Servers 1 Database - Can I use Redis?
Ok I have a couple of questions here. First let me give you some background information. I'm starting a project where I have a node.js server running my application and my website running on another ...