1.0.14 • Published 8 years ago

lovio v1.0.14

Weekly downloads
-
License
ISC
Repository
-
Last release
8 years ago

Build Status Dependency Status devDependency Status Gitter chat Coverage Status

hackable

Personal site starter for nodejs developers.

Hackable comes pre-built with an admin that is easy to hack with your nodejs chops. Hackable keeps things familiar and uses libraries common to expressjs or koajs. No new API's to learn - no magic.

The goal of the project is to provide you with a hackable prototype that you can mold to your liking.

If you've been thinking about creating a personal site or a site for your project, give Hackable a shot!.

Demo

Admin Login: admin@admin.com / asdfasdf

To access admin, use pull-down menu once logged in as admin or go to /admin

Main Stack

  • Koa / Express (older release 1.4.0
  • Mongoose
  • Pug (previously known as Jade)
  • Passport

Features

  • Login
    • Email / Password
    • Twitter, Github, Facebook, Gmail
  • Admin
    • Users
    • Posts
    • Projects
    • Products
    • Files
  • Website
    • Landing Page
      • Projects
      • Products
    • Blog

Getting Started

The easiest way to get started and the workflow we recommend is using docker. Docker handles the service depencies for the application to run. For example, Mongodb and Redis will be started and connected to the application automaticlaly. You do not have to worry about installation steps or muddying your host machine with additional services.

If you have docker available, you can get started in two steps.

Steps

  1. git clone git@github.com:uptownhr/hackable
  2. cd hackable
  3. docker-compose up
  4. visit http://localhost:3000 on your browser *if running docker on osx/windows, you'll use the vbox IP instead of localhost

Docker Installation

  1. install docker
  2. install docker-compose

NPM Helper commands

  • Getting into the app container: npm run docker-app
  • Getting into the mongo shell: npm run docker-mongo
  • NPM inside the app container: npm run docker-npm

Guides and Examples

all guides

List of Packages

PackageDescription
babel-preset-stage-3To obtain latest approved JS features
babel-registerTo auto compile on runtime
bcrypt-nodejsLibrary for hashing and salting user passwords.
bluebirdPromise Utility
cryptoTo create hash
koaNode.js framework using async
koa-bodyparserkoa middleware gives, ctx.request.body
koa-convertkoa middleware to convert to new 2.0 middleware style
koa-generic-sessionkoa middleware handles cookies and session
koa-multerkoa middleware handles file uploads
koa-passportkoa middleware single-sign on
koa-pugkoa middleware view template (formly known as jade)
koa-rediskoa middleware redis sessionas
koa-routerkoa middleware creating controllers
koa-statickoa middleware serve static files
koa-validatekoa middleware request validation
mongooseMongoDB ODM.
passport-facebookSign-in with Facebook plugin.
passport-githubSign-in with GitHub plugin.
passport-google-oauthSign-in with Google plugin.
passport-twitterSign-in with Twitter plugin.
passport-instagramSign-in with Instagram plugin.
passport-localSign-in with Username and Password plugin.
passport-oauthAllows you to set up your own OAuth 1.0a and OAuth 2.0 strategies.
stripeOffical Stripe API library.
lodashHandy JavaScript utlities library.
mochaTest framework.
chaiBDD/TDD assertion library.
supertestHTTP assertion library.
qsparse query string
remarkableparse and convert markdown

Christina-Grimmie