All Questions
6 questions
1
vote
1
answer
46
views
Node router for marketplace routes
After cleaning up & some refactoring, one module of my code became like below.
However, I'm feeling like there's still some unnecessary redundancy, and it can be improved further and look neater. ...
3
votes
1
answer
84
views
Validity checks for a user signup process
Background:
I have been working on a service which allows users to signup on different apps and on each login checks if the request is valid or not based on a series of checks.
The below snippet is ...
3
votes
1
answer
311
views
ES6 cron module
I just created my first ES6 module in Node, and first time using promises and I was hoping to get some feedback on it. I am the only developer at my current company, so I cannot get feedback here. I ...
3
votes
1
answer
545
views
Generating sinusoidal music as WAV output in JavaScript ES6
This is a single isomorphic class in ES6, written with the intention of generating a full WAV file given note names and durations in seconds. In JavaScript it can ...
5
votes
1
answer
176
views
VCF parser for eventual genomic data visualization
I've just started out writing an app that will visualize genomic data for anybody to understand.
When you get your genome sequenced the raw data usually comes in the form of a VCF file. I started out ...
1
vote
1
answer
142
views
Node.js drawing game based off of my state diagram
I really want to have a nice design pattern for my Node.js project. This is my state diagram. As I'm coding this, I'm wondering if it's better to separate state logic from the class? So instead I ...