Where communities thrive
Join over
1.5M+ people
Join over
100K+ communities
Free
without limits
Create
your own community
Explore more communities
sahat/hackathon-starter
A boilerplate for Node.js web applications
People
Repo info
Activity
James Lee
@uptownhr
:) thanks
that's what i felt hackathon-starter is really missing
i really hate starting an admin from scratch all the time
Niall O'Brien
@niallobrien
Are those graphs static or do they represent real data?
James Lee
@uptownhr
haha. sorry but not
i may make them functional as i find cases for it
Niall O'Brien
@niallobrien
Makes sense
James Lee
@uptownhr
i was going to, but wanted to get the framework converted over first
Niall O'Brien
@niallobrien
Okay, I’ll have to have a good play with this
What do you do for an asset pipeline?
James Lee
@uptownhr
that would be awesome :)
currently, no asset pipelin unfortunately
Niall O'Brien
@niallobrien
Hmmm - I could contribute a Gulp-based one.
James Lee
@uptownhr
i don't have a strong opinion on it and didn't want to implement something i'm not sure of
that would be great :)
i do need to work on a contributing guide as well
Niall O'Brien
@niallobrien
But it would be opinionated of course
James Lee
@uptownhr
opinionated is good
:)
i don't have much experiences with frontend
at least not with gulp
i've been using webpack
Niall O'Brien
@niallobrien
Ah
James Lee
@uptownhr
but it wasn't simple enough for me to put in the framework
_
Niall O'Brien
@niallobrien
I’ve used both
James Lee
@uptownhr
i'm trying to keep a balance of opinions,functions and simplicity
really hard
haha
Niall O'Brien
@niallobrien
For sure
Let me take a look at the code ;)
James Lee
@uptownhr
hehe
Niall O'Brien
@niallobrien
Okay, I like that you’re using proper file names, and not like
/post/index.js
Makes using CMD+P much easier
James Lee
@uptownhr
whats CMD+P?
Niall O'Brien
@niallobrien
Sublime Text (I have it mapped in Webstorm)
James Lee
@uptownhr
btw, i'm actually doing both
is it to open files?
Niall O'Brien
@niallobrien
yeah, very quickly
James Lee
@uptownhr
i use webstorm too, but i have different keybindings
but going back to index.js
i have controllers/index and models/index
if you want to include in all the files of that dir
its very useful for destructuring
now you can do, { User, Project } = require('./models')
Niall O'Brien
@niallobrien
For sure, but makes file hopping a bitch
James Lee
@uptownhr
instead of having multiple lines
Niall O'Brien
@niallobrien
Having 5
index.js
files open is not fun
Man, that Post controller looks damn clean
No validation in there?
James Lee
@uptownhr
it's just a view