TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Crud-bones - Boilerplate project to kick-start your Node.JS/Mongo/MySQL CRUD app

39 pointsby greenabout 13 years ago
No, it's not an another framework. Chill. All this code is basically the template which I use to jump-start with new project. It has simplistic Model and DAO (MySQL and Mongo - which are interchangable), and all the usual set of Node.JS modules I like to use (I gathered them from across many forums, as the most stable and reliable). So, it saves me a ton of time. I clone it, and go from there. You can get simple CRUD right away, just change the model (yeah, it's very "opionated"). And if you feel like you need something more sophisticated just change the code!

7 comments

mwillabout 13 years ago
Is MySQL a common choice with Node.js? Don't see many people talking about SQL and Node.js. Anyone using this combo got something to say about their experience with it?
评论 #3873988 未加载
tlackabout 13 years ago
Interesting code. Have you thought about automatically creating the models by using SHOW TABLES + DESCRIBE? Might save you some time.
评论 #3872940 未加载
tferrisabout 13 years ago
Nice work!<p>Do you use any ORM for MySQL?
评论 #3872809 未加载
评论 #3873766 未加载
crcastleabout 13 years ago
There should be something like this for every language. I've recreated this so many times in so many languages.
valladontabout 13 years ago
I am just getting in to node.js, I will have to try this and see if it makes things any easier.
评论 #3873993 未加载
jordhyabout 13 years ago
Just in time!
评论 #3872824 未加载
atjoslinabout 13 years ago
Thanks. This is a huge help for me.
评论 #3874015 未加载