Skip to content

markbates/buffla

Repository files navigation

Buff.la - URL Shortner Example

This application is an example of writing a URL shortner using Buffalo. The application can be found live on the web at https://buff.la.

Running Locally

Requirements

  • dep
  • Postgres
  • Node/Yarn
  • Buffalo - v0.11.0 (or later or development branch)

Installation

First, make sure you have all of the above dependencies setup and running (as appropriate).

  1. Get the repo: go get -v github.com/gobuffalo/buffla.
  2. Make sure database.yml is configured for your Postgres instance.
  3. Run buffalo setup.
  4. Setup OAuth keys for either GitHub, FaceBook, or Twitter (so you can log into the application). See actions/auth.go for what to name the keys.
  5. Run buffalo dev - to run the application in development.
  6. Have Fun!!

Powered by Buffalo