freeCodeCamp.org 的开源代码库和课程。免费学习编码。
Go to file
Sahat Yalkabov 9598f3119c Using clusters instead of domains.
Appended all controller variables with Controller to make it more explicit.
2014-01-06 19:22:28 -05:00
config Cleaned up code + simplified 2013-12-20 14:12:29 -05:00
controllers Declared Passport helper middleware so you don't have to explicitly pass user: req.user explicitly to templates 2014-01-03 18:19:11 -05:00
models Removed DB validations 2014-01-01 02:35:37 -05:00
public Removed unusued code and images 2013-12-19 13:16:32 -05:00
views Changed to doctype html on 500 and 404 pages 2014-01-03 04:48:44 -05:00
.gitignore Added IntellIJ iml file to gitignore 2013-12-05 09:51:05 -05:00
app.js Using clusters instead of domains. 2014-01-06 19:22:28 -05:00
package.json Twitter API library 2013-12-10 01:53:28 -05:00
Procfile converted all auth functions to use mongoose 2013-11-14 00:15:52 -05:00
README.md Update README.md 2013-12-29 19:11:23 -05:00

Hackathon Starter

A kickstarter for Node.js web applications.

When I started this project, my primary focus was on simplicity and ease of use. Anyone who knows a little bit of JavaScript should be able to get started without too much pain. I tried to make it as generic and reusable as possible to cover most use cases of hackathon web apps, without being too specific.

Chances are, you will not need all 4 types of OAuth2 authentication methods, or all 9 API Browser examples. Sadly, there is no step-by-step wizzard to configure the boilerplate code just for your use case. So, use what you need, simply delete what you don't need.

Features

  • Local authentication using Email and Password
  • OAuth2 authentication via Twitter, Facebook, Google or GitHub
  • MVC Structure
  • Bootstrap 3 + Flat UI
  • Contact Form
  • Account Management
  • API Examples

Prerequisites

  • MongoDB
  • Node.js
  • Xcode (Mac OS X) or Visual Studio (Windows)

Quick Start

git clone git://github.com/sahat/hackathon-starter
cd hackathon-starter
npm install
node app.js

Contributing

If something is unclear, confusing, or needs to be refactored, please let me know. Pull requests are always welcome, but due to the opinionated nature of this project, I cannot accept every pull request. Please open an issue before submitting a pull request.