8000 GitHub - carsontmoore/HackerPaste
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

carsontmoore/HackerPaste

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

60 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

HackerPaste

Pastie.org used to be the go-to for pasting snippets of code / text. Now that it's down, we'd like to build our own app.

Node Catapult

A boilerplate starter project that includes Node, Express, Browserify, and Mithril:

  • Minimal - Understand everything.
  • Efficient - Great defaults for development and production.
  • Rapid - Get started immediately.

Getting Started

$ git clone https://github.com/HackerPaste/HackerPaste my-project
$ cd my-project
$ npm install

# Setup databases
$ createdb hackerpaste_dev
$ npm run migrate

$ createdb hackerpaste_test
$ NODE_ENV=test npm run migrate

$ npm start

Now visit localhost:4000

Running the Tests

There is a basic test framework in your test/ folder. To run the tests, simply run npm test.

Jump-starting your App

Check the wiki for snippets to jump-start your app, including:

  • Support for SASS and Babel
  • How to set up React.js
  • Express cookie sessions
  • Postgres and knex.js
  • A functional-programming-based "ORM" pattern for your database models

Browserify Middleware

The most notable part of this app is browserify-middleware. Great node packages are exceedingly rare – this is one of those packages.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 70.9%
  • CSS 19.4%
  • HTML 9.6%
  • Shell 0.1%
0