寻找参考nodejs、expressjs &用作模板的 mongodb 应用程序
我想构建一个 Nodejs 应用程序,并且正在寻找一个很好的参考应用程序来用作模板。理想情况下,该应用程序将具有以下功能,
- 使用nodejs、expressjs 和mongodb
- 有一个用户身份验证子系统,
我想下载这样一个应用程序并让它开箱即用,然后我可以深入研究代码并开始根据我的需要自定义它。
更新: 我查看了 http://howtonode.org/express-mongodb (github repo https://github.com/creationix/howtonode.org/tree/master/articles/express-mongodb )非常有用,但有些过时。有一个 preso 在 http://www.slideshare.net/robb1e/a-nodejs-应用程序 谈了更多,但没有代码/应用程序/存储库,
我确信人们在现实世界的应用程序中已经有很多代码模式和其他学习,我正在寻找这样的应用程序是否存在,所以我可以建立在最佳实践的基础上。
I want to build out a nodejs app and was looking for a good reference app to use as a template. Ideally the app will have the following features
- uses nodejs, expressjs & mongodb
- has a user authentication subsystem
I'd like to download such an app and have it working out of the box, than i can poke into the code and start customizing it for my needs.
updated:
I've looked at http://howtonode.org/express-mongodb (github repo https://github.com/creationix/howtonode.org/tree/master/articles/express-mongodb ) which is very useful but is somewhat dated. There is a preso at http://www.slideshare.net/robb1e/a-nodejs-application
that talks a bit more on but no code/app/repo
I'm sure there are a lot of code patterns and other learning that folks have had with real-world apps and I'm looking to see if such an app exists so I can build ontop of best practices.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(5)
这是使用express和mongoose的mvc应用程序的一个很棒的示例:
https://github.com/cliftonc/express-mvc-bootstrap
Here's an awesome example of an mvc app using express and mongoose:
https://github.com/cliftonc/express-mvc-bootstrap
我还不知道(还不?)关于完全灵活的应用程序,但我知道几个非常好的模块。他们有适当的文档/样本:
模板:
身份验证:
mongodb:
I don't know(yet?) about full-flexed applications, but I know a couple of modules which are pretty good. They have proper documentation/samples:
Templating:
authentication:
mongodb:
示例
Express github 页面上有一个很大的示例文件夹。从那里开始。
Examples
There is a large examples folder on the express github page. Start there.
观看 NodeTuts.com 视频。如果您想要一个带有身份验证的小型 CRUD 示例,请查看我的存储库:
https://github。 com/alessioalex/Nodetuts/tree/master/express_samples
Look at the NodeTuts.com videos. If you want a small CRUD example with authentication look in my repo here:
https://github.com/alessioalex/Nodetuts/tree/master/express_samples
我有一个项目可能对某些人有用。目前这项工作正在进行中,但我会尝试在此过程中提供一些有用的提示。
标题是“使用 Node、Express、Passport 身份验证和使用 node-mongodb-native 的 mongoDB 测试设置 RESTful JSON 服务器”。
它位于这里: https://github.com/frodefi/node-mongodb-json-服务器
I have a project that might be useful for some. It is currently a work in progress, but I will try to include som helpful tip along the way.
The title is "Testing setting up a RESTful JSON server with Node, Express, Passport authenticaion and mongoDB with node-mongodb-native."
And it lives here: https://github.com/frodefi/node-mongodb-json-server